12-19-2017 02:17 PM - edited 12-19-2017 02:18 PM
Hi,
I want to edit the sysctl.conf file and change few variables (like buffer sizes). I am using petalinux and was wondering how to edit that file (I couldnt find it anywhere). I can boot petalinux and then run sysctl command, but i want to edit the sysctl.conf permanently at boot.
Regards,
Karthik
11-07-2018 07:07 AM
11-07-2018 11:07 PM
Hi
See if this post helps you, but this is to change /etc/syslog-startup.conf. Same should be applicable to edit /etc/sysctl.conf
Best Regards
Shabbir
04-22-2020 07:10 AM
I am using Petalinux 2019.2. There is no recipes-core directory under project-spec/meta-user.
How can I modify /etc/sysctl.conf in this case?
Thanks,
09-05-2020 02:23 AM
Anybody had any success in this?
I tried to apply changes to procps recipe (petalinux yocto 2018.1), as I found that it is the recipe for generating the sysctl.conf in /etc.
Created a .bbappend for the procps receipe with my changes in sysctl.conf.
Surprisingly my rootfs doesn't has the /etc/sysctl.conf or /etc/sysctl.d files/folders.
I tried removing the bbappend, but still the /etc/sysctl.conf is not getting deployed in rootfs.
Any help, what may I be missing.