diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-04-14 20:43:02 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-15 09:35:40 +0100 |
| commit | 79c2485204e4f496419d9c371535dbfea3126da7 (patch) | |
| tree | 2675545b3d3f4813f56bb3d9e0149e957e2c589c | |
| parent | 068085f79010e3db70085d4b789f84ae721e4901 (diff) | |
| download | poky-79c2485204e4f496419d9c371535dbfea3126da7.tar.gz | |
rpm-postinsts: remove erroneous call to /etc/default/rcS
This doesn't work when the initscripts package is not installed (e.g.
when using systemd only) and is not even needed.
(From OE-Core rev: 6c972598c6da17fbec7a4582eb593c31f4283275)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-devtools/rpm/rpm-postinsts.bb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm-postinsts.bb b/meta/recipes-devtools/rpm/rpm-postinsts.bb index a5310b53bf..3d2d05d19a 100644 --- a/meta/recipes-devtools/rpm/rpm-postinsts.bb +++ b/meta/recipes-devtools/rpm/rpm-postinsts.bb | |||
| @@ -36,7 +36,6 @@ if [ "x$D" != "x" ] && [ -f $D/var/lib/rpm/Packages ]; then | |||
| 36 | install -d $D/${sysconfdir}/rcS.d | 36 | install -d $D/${sysconfdir}/rcS.d |
| 37 | cat > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts << "EOF" | 37 | cat > $D${sysconfdir}/rcS.d/S${POSTINSTALL_INITPOSITION}run-postinsts << "EOF" |
| 38 | #!/bin/sh | 38 | #!/bin/sh |
| 39 | . /etc/default/rcS | ||
| 40 | 39 | ||
| 41 | [ -d /etc/rpm-postinsts ] && for i in `ls /etc/rpm-postinsts/`; do | 40 | [ -d /etc/rpm-postinsts ] && for i in `ls /etc/rpm-postinsts/`; do |
| 42 | i=/etc/rpm-postinsts/$i | 41 | i=/etc/rpm-postinsts/$i |
