summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-10-24SECURITY.md: Add fileHEADmasterRichard Purdie
Add a SECURITY.md file with hints for security researchers and other parties who might report potential security vulnerabilities. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-03update-rc.d: Fix enable/disable commandEinar Gunnarsson
Now works for any number 01-99 in both bash and busybox sh. $[] is a bashism and does not work on POSIX shells. Links numbered 91-99 created a single digit link. Links numbered 08 and 09 gave the error: 'bash: 100-08: value too great for base (error token is "08")' Signed-off-by: Einar Gunnarsson <tolvupostur@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19updater-rc.d: Update to use SDPX license identifierRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19update-rc.d: support enable/disable optionsChangqing Li
Add support of enable/disable options, refer https://manpages.debian.org/wheezy/sysv-rc/update-rc.d.8.en.html With support of these options, the usr can never change an existing configuration even after upgrading a package. The program will only install links if none are present, otherwise, it will keep the previous configuration. preinst in update-rc.d.bbclass will delete all the links under rcrunlevel.d, this behavior now conflicts with enable/disable options. so remove preinst from the update-rc.d.bbclass [Yocto 12955] Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-07-23Fix to handle priority numbers correctly.0.8Chen Qi
Previously, if the priority number is '08' or '09', for example, the script cannot handle them correctly as these numbers are treated as octal numbers.
2018-07-23Check if symlinks are validLaurentiu Palcu
When using root option and $initd/$bn is a symlink, the script would fail because the symlink points to a path on target. For example: /path/to/target/rootfs/etc/init.d/syslog -> /etc/init.d/syslog.busybox Hence, [ -f /path/to/target/rootfs/etc/init.d/syslog ] condition would return false. This patch adds the posibility to check whether the file the symlink points to actually exists in rootfs path and then continue.
2018-07-23Add verbose toggle (default to off)Paul Sokolovsky
2011-05-13import 0.7 release0.7Phil Blundell