diff --git a/packages/devel/dbus/install b/packages/devel/dbus/install index 07da935c99..4ece6aac9d 100755 --- a/packages/devel/dbus/install +++ b/packages/devel/dbus/install @@ -22,8 +22,8 @@ mkdir -p $INSTALL/usr/lib mkdir -p $INSTALL/usr/lib/dbus cp $PKG_BUILD/.build-target/bus/dbus-daemon-launch-helper $INSTALL/usr/lib/dbus - echo "chmod 4750 $INSTALL/usr/lib/dbus/dbus-daemon-launch-helper" >> $ROOT/.fakeroot - echo "chown 0:81 $INSTALL/usr/lib/dbus/dbus-daemon-launch-helper" >> $ROOT/.fakeroot + echo "chmod 4750 $INSTALL/usr/lib/dbus/dbus-daemon-launch-helper" >> $ROOT/.fakeroot.$PROJECT + echo "chown 0:81 $INSTALL/usr/lib/dbus/dbus-daemon-launch-helper" >> $ROOT/.fakeroot.$PROJECT mkdir -p $INSTALL/etc/dbus-1 cp $PKG_BUILD/.build-target/bus/session.conf $INSTALL/etc/dbus-1 diff --git a/packages/image/install b/packages/image/install index 5a9a0143b6..732a92fc96 100755 --- a/packages/image/install +++ b/packages/image/install @@ -20,10 +20,10 @@ case "$2" in export INSTALL=$BUILD/$1/$2 - rm -rf $ROOT/.fakeroot # remove /.fakeroot if it exist - touch $ROOT/.fakeroot # create an empty /.fakeroot - chmod +x $ROOT/.fakeroot # make /.fakeroot executable - echo "chown -R 0:0 $INSTALL" >> $ROOT/.fakeroot + rm -rf $ROOT/.fakeroot.$PROJECT # remove /.fakeroot if it exist + touch $ROOT/.fakeroot.$PROJECT # create an empty /.fakeroot + chmod +x $ROOT/.fakeroot.$PROJECT # make /.fakeroot executable + echo "chown -R 0:0 $INSTALL" >> $ROOT/.fakeroot.$PROJECT rm -rf $INSTALL mkdir -p $INSTALL @@ -83,11 +83,11 @@ case "$2" in rm -rf $ROOT/target/OpenELEC-$PROJECT-$TARGET_LIBC-$OPENELEC_VERSION.kernel cp -PR $BUILD/linux-*/arch/x86/boot/bzImage $ROOT/target/OpenELEC-$PROJECT-$TARGET_LIBC-$OPENELEC_VERSION.kernel - echo "rm -rf $ROOT/target/OpenELEC-$PROJECT-$TARGET_LIBC-$OPENELEC_VERSION.system" >> $ROOT/.fakeroot - echo "$ROOT/$TOOLCHAIN/bin/mksquashfs $INSTALL $ROOT/target/OpenELEC-$PROJECT-$TARGET_LIBC-$OPENELEC_VERSION.system -noappend -comp lzma" >> $ROOT/.fakeroot - $ROOT/$TOOLCHAIN/bin/fakeroot -- $ROOT/.fakeroot + echo "rm -rf $ROOT/target/OpenELEC-$PROJECT-$TARGET_LIBC-$OPENELEC_VERSION.system" >> $ROOT/.fakeroot.$PROJECT + echo "$ROOT/$TOOLCHAIN/bin/mksquashfs $INSTALL $ROOT/target/OpenELEC-$PROJECT-$TARGET_LIBC-$OPENELEC_VERSION.system -noappend -comp lzma" >> $ROOT/.fakeroot.$PROJECT + $ROOT/$TOOLCHAIN/bin/fakeroot -- $ROOT/.fakeroot.$PROJECT chmod 0644 $ROOT/target/OpenELEC-$PROJECT-$TARGET_LIBC-$OPENELEC_VERSION.system - rm -rf $ROOT/.fakeroot + rm -rf $ROOT/.fakeroot.$PROJECT ;; qemu) diff --git a/packages/security/Linux-PAM/install b/packages/security/Linux-PAM/install index ec46c154eb..c622b002bb 100755 --- a/packages/security/Linux-PAM/install +++ b/packages/security/Linux-PAM/install @@ -25,7 +25,7 @@ mkdir -p $INSTALL/lib/security # cp -PR $PKG_BUILD/modules/pam_tally/pam_tally $INSTALL/lib/security cp -PR $PKG_BUILD/modules/pam_tally2/.libs/pam_tally2 $INSTALL/lib/security cp -PR $PKG_BUILD/modules/pam_unix/unix_chkpwd $INSTALL/lib/security - echo "chmod 4755 $INSTALL/lib/security/unix_chkpwd" >> $ROOT/.fakeroot + echo "chmod 4755 $INSTALL/lib/security/unix_chkpwd" >> $ROOT/.fakeroot.$PROJECT cp -PR $PKG_BUILD/modules/pam_unix/unix_update $INSTALL/lib/security mkdir -p $INSTALL/usr/lib diff --git a/packages/security/polkit/install b/packages/security/polkit/install index 99fbd34423..ffc392f725 100755 --- a/packages/security/polkit/install +++ b/packages/security/polkit/install @@ -33,7 +33,7 @@ mkdir -p $INSTALL/usr/bin cp -PR $PKG_BUILD/src/programs/.libs/pkaction $INSTALL/usr/bin cp -PR $PKG_BUILD/src/programs/.libs/pkcheck $INSTALL/usr/bin cp -PR $PKG_BUILD/src/programs/.libs/pkexec $INSTALL/usr/bin - echo "chmod 4755 $INSTALL/usr/bin/pkexec" >> $ROOT/.fakeroot + echo "chmod 4755 $INSTALL/usr/bin/pkexec" >> $ROOT/.fakeroot.$PROJECT mkdir -p $INSTALL/usr/lib cp -PR $PKG_BUILD/src/polkitagent/.libs/libpolkit-agent-1.so* $INSTALL/usr/lib diff --git a/packages/sysutils/busybox/install b/packages/sysutils/busybox/install index e9243745ef..ad989a9af5 100755 --- a/packages/sysutils/busybox/install +++ b/packages/sysutils/busybox/install @@ -13,7 +13,7 @@ ROOT_PWD="`$ROOT/$TOOLCHAIN/bin/cryptpw $ROOT_PASSWORD`" add_group root 0 cp -PR $BUILD/busybox*/_install-system/* $INSTALL - echo "chmod 4755 $INSTALL/bin/busybox" >> $ROOT/.fakeroot + echo "chmod 4755 $INSTALL/bin/busybox" >> $ROOT/.fakeroot.$PROJECT mkdir -p $INSTALL/bin ln -sf /bin/sh $INSTALL/bin/bash