summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-19updater-rc.d: Update to use SDPX license identifierHEADmasterRichard Purdie1-8/+1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19update-rc.d: support enable/disable optionsChangqing Li1-0/+81
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 Qi1-1/+1
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 Palcu1-2/+23
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 Sokolovsky1-2/+8
2011-05-13import 0.7 release0.7Phil Blundell1-0/+231