summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/update-rc.d/update-rc.d/check-if-symlinks-are-valid.patch
Commit message (Collapse)AuthorAgeFilesLines
* update-rc.d: fix failure on targetLaurentiu Palcu2013-01-171-2/+2
| | | | | | | | | | The problem happened because the variables given to -n were not surounded by quotes. (From OE-Core rev: 98f17da7ccc1bf79fc5894f90e52769bdbcf89df) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: check also that symlinks are validLaurentiu Palcu2013-01-161-0/+53
Running: update-rc.d -r /path/to/target/rootfs basename defaults at do_rootfs time in package postinstall stage, when /path/to/target/rootfs/etc/init.d/basename is a symlink and points to some path on target (for example: /etc/init.d/basename.some_package), would fail and the postinstall execution would be postponed for first boot, on target. This patch adds the posibility to verify whether the file the symlink points to actually exists in the target rootfs. [YOCTO #3716] (From OE-Core rev: 4b63e73422ea25aba1bde0beddb02bc04948e13c) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>