Changes to images/qemuarm/glibc/core-image-sato-dev (files-in-image.txt): /usr/share/fonts/cantarell/.uuid changed owner/group from 6000/users to 6000/6000 /usr/share/fonts/ttf/.uuid changed owner/group from 6000/users to 6000/6000 /usr/share/fonts/.uuid changed owner/group from 6000/users to 6000/6000 /usr/share/fonts/X11/encodings/.uuid changed owner/group from 6000/users to 6000/6000 /usr/share/fonts/X11/.uuid changed owner/group from 6000/users to 6000/6000 /var/cache/fontconfig/15867726-28d2-4f2d-be84-b1730842f898-le32d8.cache-7 was removed /var/cache/fontconfig/1eda20e3-4423-4061-be34-c031c9da941c-le32d8.cache-7 was removed /var/cache/fontconfig/2f70f3f7-d3a0-44f7-8b4e-bc06029684c2-le32d8.cache-7 was removed /var/cache/fontconfig/3a587e16-7f38-407c-bc67-618a8de207e7-le32d8.cache-7 was removed /var/cache/fontconfig/5ec35822-e9fd-475d-9bb5-d72cdbac4ce6-le32d8.cache-7 was removed /var/cache/fontconfig/96ea266b-1090-4e0a-ab1e-e1d92fa2b9d2-le32d8.cache-7 was removed /var/cache/fontconfig/e8fe5079-1010-4390-9477-26be8c453234-le32d8.cache-7 was removed /var/cache/fontconfig/1289b17a-59ec-4e3b-8789-9ef4386723c6-le32d8.cache-7 was added /var/cache/fontconfig/36c1d453-1304-45a7-923d-270bce0252bd-le32d8.cache-7 was added /var/cache/fontconfig/682a42c6-8491-42ea-b754-1deccbbf0eb0-le32d8.cache-7 was added /var/cache/fontconfig/962c0c64-96e3-4fbd-9d37-291a85ae4120-le32d8.cache-7 was added /var/cache/fontconfig/c3662370-ffa0-48e7-ba69-684609268ee2-le32d8.cache-7 was added /var/cache/fontconfig/fe71bdc5-d0bb-4a71-ba5f-a2a5b7d680d1-le32d8.cache-7 was added /var/cache/fontconfig/ffab5c9f-7caa-4699-bef6-6596a99c0071-le32d8.cache-7 was added Changes to images/qemuarm/glibc/core-image-sato-sdk (files-in-image.txt): /usr/share/fonts/cantarell/.uuid changed owner/group from 6000/users to 6000/6000 /usr/share/fonts/ttf/.uuid changed owner/group from 6000/users to 6000/6000 /usr/share/fonts/.uuid changed owner/group from 6000/users to 6000/6000 /usr/share/fonts/X11/encodings/.uuid changed owner/group from 6000/users to 6000/6000 /usr/share/fonts/X11/.uuid changed owner/group from 6000/users to 6000/6000 /var/cache/fontconfig/26e5bbbb-d24c-4de4-9677-b69712d43efa-le32d8.cache-7 was removed /var/cache/fontconfig/58303436-a92d-4e06-9d55-1cc5fbea0cc6-le32d8.cache-7 was removed /var/cache/fontconfig/5913e62e-6912-4acf-94e7-024a00e5e977-le32d8.cache-7 was removed /var/cache/fontconfig/5dc56d90-0363-4c12-91f7-7853a24c3eb5-le32d8.cache-7 was removed /var/cache/fontconfig/788022fc-0654-4740-a9f9-88176b082359-le32d8.cache-7 was removed /var/cache/fontconfig/92c3a8b2-8835-446a-8acc-3b6797357a73-le32d8.cache-7 was removed /var/cache/fontconfig/c52636f9-03c1-423a-8b8e-40940d19ef63-le32d8.cache-7 was removed /var/cache/fontconfig/23c7ded8-ccc5-4b4b-b416-7a07be744b50-le32d8.cache-7 was added /var/cache/fontconfig/36fe9306-3b57-42bd-9ec3-c4f42bab0f8d-le32d8.cache-7 was added /var/cache/fontconfig/39031042-80a7-4387-a6ef-f61a8f6c4d8b-le32d8.cache-7 was added /var/cache/fontconfig/bd919609-144b-4aec-9636-2a5be253e176-le32d8.cache-7 was added /var/cache/fontconfig/c181972d-c958-4d44-ab3f-d477e545041a-le32d8.cache-7 was added /var/cache/fontconfig/c9692251-2044-44d7-8216-39c106070065-le32d8.cache-7 was added /var/cache/fontconfig/cbba97f8-bcec-496e-a4d2-dbd4470dadd6-le32d8.cache-7 was added Changes to images/qemuarm/glibc/core-image-sato (files-in-image.txt): /usr/share/fonts/ttf/.uuid changed owner/group from 6000/users to 6000/6000 /usr/share/fonts/.uuid changed owner/group from 6000/users to 6000/6000 /var/cache/fontconfig/3b3a0208-2495-40e7-8f3c-2d2e89e94aba-le32d8.cache-7 was removed /var/cache/fontconfig/9d9843a9-623e-4acd-9220-8ccde6e25656-le32d8.cache-7 was removed /var/cache/fontconfig/169de845-8a56-4898-a508-b9340c455c62-le32d8.cache-7 was added /var/cache/fontconfig/59d34813-132e-41de-8b0b-472d15769bba-le32d8.cache-7 was added packages/all-poky-linux/run-postinsts/run-postinsts: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT run-postinsts start 99 S . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT run-postinsts start 99 S . fi " packages/all-poky-linux/update-rc.d/update-rc.d: PKGSIZE changed from 4816 to 6365 (+32%) packages/armv7vet2hf-neon-poky-linux-gnueabi/alsa-state/alsa-state: latest.pkg_postinst changed from "set -e if test -z "$D" then if test -x /usr/sbin/alsactl then /usr/sbin/alsactl -f /var/lib/alsa/asound.state restore fi fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT alsa-state start 39 S . stop 31 0 6 . fi " to "set -e if test -z "$D" then if test -x /usr/sbin/alsactl then /usr/sbin/alsactl -f /var/lib/alsa/asound.state restore fi fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT alsa-state start 39 S . stop 31 0 6 . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/at/at: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT atd defaults fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT atd defaults fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/avahi/avahi-daemon: latest.pkg_postinst changed from "set -e if [ -z "$D" ]; then killall -q -HUP dbus-daemon || true fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT avahi-daemon defaults 21 19 fi " to "set -e if [ -z "$D" ]; then killall -q -HUP dbus-daemon || true fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT avahi-daemon defaults 21 19 fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/avahi/avahi-daemon: latest.pkg_preinst changed from "#!/bin/sh set -e if true && [ -z "$D" -a -f "/etc/init.d/avahi-daemon" ]; then /etc/init.d/avahi-daemon stop || : fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f" fi update-rc.d $OPT avahi-daemon remove fi bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "avahi: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "avahi: groupadd command did not succeed." fi else bbnote "avahi: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "avahi: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "avahi: useradd command did not succeed." fi else bbnote "avahi: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "avahi: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "avahi: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "avahi: groupmems command did not succeed." fi else bbnote "avahi: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " to "#!/bin/sh set -e bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "avahi: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "avahi: groupadd command did not succeed." fi else bbnote "avahi: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "avahi: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "avahi: useradd command did not succeed." fi else bbnote "avahi: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "avahi: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "avahi: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "avahi: groupmems command did not succeed." fi else bbnote "avahi: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/avahi/avahi-dnsconfd: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT avahi-dnsconfd defaults 22 19 fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT avahi-dnsconfd defaults 22 19 fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/bluez5/bluez5: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT bluetooth defaults fi if [ x"$D" = "x" ]; then if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT bluetooth defaults fi if [ x"$D" = "x" ]; then if [ -x /sbin/ldconfig ]; then /sbin/ldconfig ; fi fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-httpd: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT busybox-httpd defaults fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT busybox-httpd defaults fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-hwclock: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT hwclock.sh defaults fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT hwclock.sh defaults fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-mdev: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT mdev start 04 S . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT mdev start 04 S . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-syslog: latest.pkg_postinst changed from "#!/bin/sh set -e update-alternatives --install /sbin/klogd klogd /bin/busybox.nosuid 50 update-alternatives --install /sbin/syslogd syslogd /bin/busybox.nosuid 50 if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT syslog defaults fi " to "#!/bin/sh set -e update-alternatives --install /sbin/klogd klogd /bin/busybox.nosuid 50 update-alternatives --install /sbin/syslogd syslogd /bin/busybox.nosuid 50 if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT syslog defaults fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-udhcpd: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT busybox-udhcpd defaults fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT busybox-udhcpd defaults fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/connman/connman: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT connman start 05 5 2 3 . stop 22 0 1 6 . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT connman start 05 5 2 3 . stop 22 0 1 6 . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/cronie/cronie: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT crond start 90 2 3 4 5 . stop 60 0 1 6 . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT crond start 90 2 3 4 5 . stop 60 0 1 6 . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/cronie/cronie: latest.pkg_preinst changed from "#!/bin/sh set -e if true && [ -z "$D" -a -f "/etc/init.d/crond" ]; then /etc/init.d/crond stop || : fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f" fi update-rc.d $OPT crond remove fi bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "cronie: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "cronie: groupadd command did not succeed." fi else bbnote "cronie: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "cronie: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "cronie: useradd command did not succeed." fi else bbnote "cronie: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "cronie: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "cronie: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "cronie: groupmems command did not succeed." fi else bbnote "cronie: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " to "#!/bin/sh set -e bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "cronie: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "cronie: groupadd command did not succeed." fi else bbnote "cronie: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "cronie: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "cronie: useradd command did not succeed." fi else bbnote "cronie: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "cronie: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "cronie: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "cronie: groupmems command did not succeed." fi else bbnote "cronie: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/dbus/dbus: latest.pkg_postinst changed from "set -e # If both systemd and sysvinit are enabled, mask the dbus-1 init script if false; then if [ -n "$D" ]; then OPTS="--root=$D" fi systemctl $OPTS mask dbus-1.service fi if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then /etc/init.d/populate-volatile.sh update fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT dbus-1 start 02 5 3 2 . stop 20 0 1 6 . fi " to "set -e # If both systemd and sysvinit are enabled, mask the dbus-1 init script if false; then if [ -n "$D" ]; then OPTS="--root=$D" fi systemctl $OPTS mask dbus-1.service fi if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then /etc/init.d/populate-volatile.sh update fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT dbus-1 start 02 5 3 2 . stop 20 0 1 6 . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/dbus/dbus: latest.pkg_preinst changed from "#!/bin/sh set -e if true && [ -z "$D" -a -f "/etc/init.d/dbus-1" ]; then /etc/init.d/dbus-1 stop || : fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f" fi update-rc.d $OPT dbus-1 remove fi bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "dbus: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "dbus: groupadd command did not succeed." fi else bbnote "dbus: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "dbus: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "dbus: useradd command did not succeed." fi else bbnote "dbus: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "dbus: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "dbus: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "dbus: groupmems command did not succeed." fi else bbnote "dbus: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " to "#!/bin/sh set -e bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "dbus: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "dbus: groupadd command did not succeed." fi else bbnote "dbus: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "dbus: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "dbus: useradd command did not succeed." fi else bbnote "dbus: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "dbus: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "dbus: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "dbus: groupmems command did not succeed." fi else bbnote "dbus: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/distcc/distcc: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT distcc defaults fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT distcc defaults fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/distcc/distcc: latest.pkg_preinst changed from "#!/bin/sh set -e if true && [ -z "$D" -a -f "/etc/init.d/distcc" ]; then /etc/init.d/distcc stop || : fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f" fi update-rc.d $OPT distcc remove fi bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "distcc: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "distcc: groupadd command did not succeed." fi else bbnote "distcc: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "distcc: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "distcc: useradd command did not succeed." fi else bbnote "distcc: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "distcc: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "distcc: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "distcc: groupmems command did not succeed." fi else bbnote "distcc: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " to "#!/bin/sh set -e bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "distcc: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "distcc: groupadd command did not succeed." fi else bbnote "distcc: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "distcc: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "distcc: useradd command did not succeed." fi else bbnote "distcc: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "distcc: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "distcc: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "distcc: groupmems command did not succeed." fi else bbnote "distcc: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/dropbear/dropbear-src: FILELIST: removed "/usr/src/debug/dropbear/2019.78-r0/dropbear-2019.78/libtomcrypt/src/modes/cbc/cbc_encrypt.c /usr/src/debug/dropbear/2019.78-r0/dropbear-2019.78/libtomcrypt/src/modes/cbc/cbc_start.c /usr/src/debug/dropbear/2019.78-r0/dropbear-2019.78/libtomcrypt/src/modes/cbc/cbc_decrypt.c" packages/armv7vet2hf-neon-poky-linux-gnueabi/dropbear/dropbear: latest.pkg_postinst changed from "#!/bin/sh set -e update-alternatives --install /usr/bin/scp scp /usr/sbin/dropbearmulti 20 update-alternatives --install /usr/bin/ssh ssh /usr/sbin/dropbearmulti 20 if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT dropbear defaults 10 fi " to "#!/bin/sh set -e update-alternatives --install /usr/bin/scp scp /usr/sbin/dropbearmulti 20 update-alternatives --install /usr/bin/ssh ssh /usr/sbin/dropbearmulti 20 if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT dropbear defaults 10 fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/eudev/eudev: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT udev start 04 S . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT udev start 04 S . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/gstreamer1.0/gstreamer1.0-dbg: RRECOMMENDS: added "libcap-dbg" packages/armv7vet2hf-neon-poky-linux-gnueabi/gstreamer1.0/gstreamer1.0: RDEPENDS: added "libcap (['>= 2.27'])" packages/armv7vet2hf-neon-poky-linux-gnueabi/kexec-tools/kdump: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT kdump start 56 2 3 4 5 . stop 56 0 1 6 . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT kdump start 56 2 3 4 5 . stop 56 0 1 6 . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/modutils-initscripts/modutils-initscripts: latest.pkg_postinst changed from "set -e if false; then if [ -n "$D" ]; then OPTS="--root=$D" fi systemctl $OPTS mask modutils.service fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT modutils.sh start 05 S . fi " to "set -e if false; then if [ -n "$D" ]; then OPTS="--root=$D" fi systemctl $OPTS mask modutils.service fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT modutils.sh start 05 S . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/neard/neard: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT neard defaults 64 fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT neard defaults 64 fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/nfs-utils/nfs-utils-client: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT nfscommon defaults 19 21 fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT nfscommon defaults 19 21 fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/nfs-utils/nfs-utils-client: latest.pkg_preinst changed from "#!/bin/sh set -e if true && [ -z "$D" -a -f "/etc/init.d/nfscommon" ]; then /etc/init.d/nfscommon stop || : fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f" fi update-rc.d $OPT nfscommon remove fi bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "nfs-utils: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "nfs-utils: groupadd command did not succeed." fi else bbnote "nfs-utils: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "nfs-utils: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "nfs-utils: useradd command did not succeed." fi else bbnote "nfs-utils: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "nfs-utils: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "nfs-utils: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "nfs-utils: groupmems command did not succeed." fi else bbnote "nfs-utils: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " to "#!/bin/sh set -e bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "nfs-utils: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "nfs-utils: groupadd command did not succeed." fi else bbnote "nfs-utils: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "nfs-utils: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "nfs-utils: useradd command did not succeed." fi else bbnote "nfs-utils: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "nfs-utils: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "nfs-utils: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "nfs-utils: groupmems command did not succeed." fi else bbnote "nfs-utils: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/nfs-utils/nfs-utils: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT nfsserver defaults fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT nfsserver defaults fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/ofono/ofono: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT ofono defaults 22 fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT ofono defaults 22 fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/openssh/openssh-sshd: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT sshd defaults 9 fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT sshd defaults 9 fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/openssh/openssh-sshd: latest.pkg_preinst changed from "#!/bin/sh set -e if true && [ -z "$D" -a -f "/etc/init.d/sshd" ]; then /etc/init.d/sshd stop || : fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f" fi update-rc.d $OPT sshd remove fi bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "openssh: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "openssh: groupadd command did not succeed." fi else bbnote "openssh: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "openssh: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "openssh: useradd command did not succeed." fi else bbnote "openssh: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "openssh: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "openssh: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "openssh: groupmems command did not succeed." fi else bbnote "openssh: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " to "#!/bin/sh set -e bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "openssh: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "openssh: groupadd command did not succeed." fi else bbnote "openssh: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "openssh: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "openssh: useradd command did not succeed." fi else bbnote "openssh: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "openssh: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "openssh: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "openssh: groupmems command did not succeed." fi else bbnote "openssh: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/perl/perl-ptest: FILELIST: removed "/usr/lib/perl/ptest/config.log" packages/armv7vet2hf-neon-poky-linux-gnueabi/psplash/psplash: latest.pkg_postinst changed from "set -e if false; then if [ -n "$D" ]; then OPTS="--root=$D" fi systemctl $OPTS mask psplash.service fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT psplash.sh start 0 S . stop 20 0 1 6 . fi " to "set -e if false; then if [ -n "$D" ]; then OPTS="--root=$D" fi systemctl $OPTS mask psplash.service fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT psplash.sh start 0 S . stop 20 0 1 6 . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/rng-tools/rng-tools: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT rng-tools start 03 2 3 4 5 . stop 30 0 6 1 . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT rng-tools start 03 2 3 4 5 . stop 30 0 6 1 . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/rpcbind/rpcbind: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT rpcbind start 12 2 3 4 5 . stop 60 0 1 6 . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT rpcbind start 12 2 3 4 5 . stop 60 0 1 6 . fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/rpcbind/rpcbind: latest.pkg_preinst changed from "#!/bin/sh set -e if true && [ -z "$D" -a -f "/etc/init.d/rpcbind" ]; then /etc/init.d/rpcbind stop || : fi if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f" fi update-rc.d $OPT rpcbind remove fi bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "rpcbind: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "rpcbind: groupadd command did not succeed." fi else bbnote "rpcbind: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "rpcbind: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "rpcbind: useradd command did not succeed." fi else bbnote "rpcbind: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "rpcbind: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "rpcbind: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "rpcbind: groupmems command did not succeed." fi else bbnote "rpcbind: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " to "#!/bin/sh set -e bbnote () { echo "NOTE: $*" } bbwarn () { echo "WARNING: $*" } bbfatal () { echo "ERROR: $*" exit 1 } perform_groupadd () { local rootdir="$1" local opts="$2" bbnote "rpcbind: Performing groupadd with [$opts]" local groupname=`echo "$opts" | awk '{ print $NF }'` local group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupadd \$opts\" || true group_exists="`grep "^$groupname:" $rootdir/etc/group || true`" if test "x$group_exists" = "x"; then bbfatal "rpcbind: groupadd command did not succeed." fi else bbnote "rpcbind: group $groupname already exists, not re-creating it" fi } perform_useradd () { local rootdir="$1" local opts="$2" bbnote "rpcbind: Performing useradd with [$opts]" local username=`echo "$opts" | awk '{ print $NF }'` local user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO useradd \$opts\" || true user_exists="`grep "^$username:" $rootdir/etc/passwd || true`" if test "x$user_exists" = "x"; then bbfatal "rpcbind: useradd command did not succeed." fi else bbnote "rpcbind: user $username already exists, not re-creating it" fi } perform_groupmems () { local rootdir="$1" local opts="$2" bbnote "rpcbind: Performing groupmems with [$opts]" local groupname=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-g" || $i == "--group") print $(i+1) }'` local username=`echo "$opts" | awk '{ for (i = 1; i < NF; i++) if ($i == "-a" || $i == "--add") print $(i+1) }'` bbnote "rpcbind: Running groupmems command with group $groupname and user $username" local mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then eval flock -x $rootdir/etc -c \"$PSEUDO groupmems \$opts\" || true mem_exists="`grep "^$groupname:[^:]*:[^:]*:\([^,]*,\)*$username\(,[^,]*\)*$" $rootdir/etc/group || true`" if test "x$mem_exists" = "x"; then bbfatal "rpcbind: groupmems command did not succeed." fi else bbnote "rpcbind: group $groupname already contains $username, not re-adding it" fi } OPT="" SYSROOT="" if test "x$D" != "x"; then # Installing into a sysroot SYSROOT="$D" OPT="--root $D" # Make sure login.defs is there, this is to make debian package backend work # correctly while doing rootfs. # The problem here is that if /etc/login.defs is treated as a config file for # shadow package, then while performing preinsts for packages that depend on # shadow, there might only be /etc/login.def.dpkg-new there in root filesystem. if [ ! -e $D/etc/login.defs -a -e $D/etc/login.defs.dpkg-new ]; then cp $D/etc/login.defs.dpkg-new $D/etc/login.defs fi # user/group lookups should match useradd/groupadd --root export PSEUDO_PASSWD="$SYSROOT" fi # If we're not doing a special SSTATE/SYSROOT install # then set the values, otherwise use the environment if test "x$UA_SYSROOT" = "x"; then # Installing onto a target # Add groups and users defined only for this package GROUPADD_PARAM="${GROUPADD_PARAM}" USERADD_PARAM="${USERADD_PARAM}" GROUPMEMS_PARAM="${GROUPMEMS_PARAM}" fi # Perform group additions first, since user additions may depend # on these groups existing if test "x`echo $GROUPADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupadd commands..." # Invoke multiple instances of groupadd for parameter lists # separated by ';' opts=`echo "$GROUPADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupadd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $USERADD_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running useradd commands..." # Invoke multiple instances of useradd for parameter lists # separated by ';' opts=`echo "$USERADD_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$USERADD_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_useradd "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi if test "x`echo $GROUPMEMS_PARAM | tr -d '[:space:]'`" != "x"; then echo "Running groupmems commands..." # Invoke multiple instances of groupmems for parameter lists # separated by ';' opts=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$GROUPMEMS_PARAM" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` while test "x$opts" != "x"; do perform_groupmems "$SYSROOT" "$OPT $opts" if test "x$opts" = "x$remaining"; then break fi opts=`echo "$remaining" | cut -d ';' -f 1 | sed -e 's#[ \t]*$##'` remaining=`echo "$remaining" | cut -d ';' -f 2- | sed -e 's#[ \t]*$##'` done fi " packages/armv7vet2hf-neon-poky-linux-gnueabi/tcf-agent/tcf-agent: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT tcf-agent start 99 3 5 . stop 20 0 1 2 6 . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT tcf-agent start 99 3 5 . stop 20 0 1 2 6 . fi " packages/qemuarm-poky-linux-gnueabi/init-ifupdown/init-ifupdown: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT networking start 01 2 3 4 5 . stop 80 0 6 1 . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT networking start 01 2 3 4 5 . stop 80 0 6 1 . fi " packages/qemuarm-poky-linux-gnueabi/xserver-nodm-init/xserver-nodm-init: latest.pkg_postinst changed from "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-f -r $D" else OPT="-f -s" fi update-rc.d $OPT xserver-nodm start 9 5 . stop 20 0 1 2 3 6 . fi " to "#!/bin/sh set -e if true && type update-rc.d >/dev/null 2>/dev/null; then if [ -n "$D" ]; then OPT="-r $D" else OPT="-s" fi update-rc.d $OPT xserver-nodm start 9 5 . stop 20 0 1 2 3 6 . fi " packages/all-poky-linux/run-postinsts/run-postinsts: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/run-postinsts" ]; then - /etc/init.d/run-postinsts stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT run-postinsts remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/alsa-state/alsa-state: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/alsa-state" ]; then - /etc/init.d/alsa-state stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT alsa-state remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/at/at: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/atd" ]; then - /etc/init.d/atd stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT atd remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/avahi/avahi-dnsconfd: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/avahi-dnsconfd" ]; then - /etc/init.d/avahi-dnsconfd stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT avahi-dnsconfd remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/bluez5/bluez5: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/bluetooth" ]; then - /etc/init.d/bluetooth stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT bluetooth remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-httpd: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/busybox-httpd" ]; then - /etc/init.d/busybox-httpd stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT busybox-httpd remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-hwclock: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/hwclock.sh" ]; then - /etc/init.d/hwclock.sh stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT hwclock.sh remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-mdev: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/mdev" ]; then - /etc/init.d/mdev stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT mdev remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-syslog: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/syslog" ]; then - /etc/init.d/syslog stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT syslog remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/busybox/busybox-udhcpd: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/busybox-udhcpd" ]; then - /etc/init.d/busybox-udhcpd stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT busybox-udhcpd remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/connman/connman: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/connman" ]; then - /etc/init.d/connman stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT connman remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/dropbear/dropbear: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/dropbear" ]; then - /etc/init.d/dropbear stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT dropbear remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/eudev/eudev: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/udev" ]; then - /etc/init.d/udev stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT udev remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/kexec-tools/kdump: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/kdump" ]; then - /etc/init.d/kdump stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT kdump remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/modutils-initscripts/modutils-initscripts: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/modutils.sh" ]; then - /etc/init.d/modutils.sh stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT modutils.sh remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/neard/neard: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/neard" ]; then - /etc/init.d/neard stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT neard remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/nfs-utils/nfs-utils: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/nfsserver" ]; then - /etc/init.d/nfsserver stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT nfsserver remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/ofono/ofono: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/ofono" ]; then - /etc/init.d/ofono stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT ofono remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/psplash/psplash: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/psplash.sh" ]; then - /etc/init.d/psplash.sh stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT psplash.sh remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/rng-tools/rng-tools: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/rng-tools" ]; then - /etc/init.d/rng-tools stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT rng-tools remove -fi -- packages/armv7vet2hf-neon-poky-linux-gnueabi/tcf-agent/tcf-agent: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/tcf-agent" ]; then - /etc/init.d/tcf-agent stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT tcf-agent remove -fi -- packages/qemuarm-poky-linux-gnueabi/init-ifupdown/init-ifupdown: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/networking" ]; then - /etc/init.d/networking stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT networking remove -fi -- packages/qemuarm-poky-linux-gnueabi/xserver-nodm-init/xserver-nodm-init: pkg_preinst cleared: @@ -1,13 +0,0 @@ -#!/bin/sh -set -e -if true && [ -z "$D" -a -f "/etc/init.d/xserver-nodm" ]; then - /etc/init.d/xserver-nodm stop || : -fi -if true && type update-rc.d >/dev/null 2>/dev/null; then - if [ -n "$D" ]; then - OPT="-f -r $D" - else - OPT="-f" - fi - update-rc.d $OPT xserver-nodm remove -fi --