Changes to images/qemumips64/glibc/core-image-sato-dev (files-in-image.txt): /var/cache/fontconfig/0d5e5175-3506-4103-a284-a4aaa4045bbb-be64.cache-7 was added /var/cache/fontconfig/10519827-6128-4e37-88c5-11f625c6962b-be64.cache-7 was added /var/cache/fontconfig/41209731-b07a-41c3-8d1c-3c0a0cc708af-be64.cache-7 was added /var/cache/fontconfig/49cc39ef-331b-4d96-b9e6-629506615505-be64.cache-7 was added /var/cache/fontconfig/6784f53f-3e43-4647-84fc-690a7c41e603-be64.cache-7 was added /var/cache/fontconfig/d12b390d-d0a9-4523-be83-e872112ff428-be64.cache-7 was added /var/cache/fontconfig/f6fbc19f-055e-43eb-8fe7-1e241c6cbab0-be64.cache-7 was added /var/cache/fontconfig/175cf724-4338-4238-8cc3-61309eb8f0d9-be64.cache-7 was removed /var/cache/fontconfig/2b70fceb-107f-424d-964f-6f856149f7b6-be64.cache-7 was removed /var/cache/fontconfig/5fee0ab2-7d3a-45c9-934a-cf9cb71d0025-be64.cache-7 was removed /var/cache/fontconfig/c1d58e4d-eade-4ba8-82e8-0060ac77017a-be64.cache-7 was removed /var/cache/fontconfig/c277b3c8-45e9-4b10-91ec-6fab55848147-be64.cache-7 was removed /var/cache/fontconfig/ccaba28a-be93-47e9-b447-aa2f8b5047ff-be64.cache-7 was removed /var/cache/fontconfig/f655eac6-19ce-497f-9074-812c15ddeff1-be64.cache-7 was removed images/qemumips64/glibc/core-image-sato-dev: Changes to /etc/group: --- /etc/group +++ /etc/group @@ -41,6 +41,6 @@ users:x:100: pulse:x:996:pulse avahi:x:997: -messagebus:x:998: -rpc:x:999: +rpc:x:998: +messagebus:x:999: nogroup:x:65534: -- images/qemumips64/glibc/core-image-sato-dev: Changes to /etc/passwd: --- /etc/passwd +++ /etc/passwd @@ -17,6 +17,6 @@ gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh pulse:x:996:996::/var/run/pulse:/bin/false avahi:x:997:997::/run/avahi-daemon:/bin/false -messagebus:x:998:998::/var/lib/dbus:/bin/false -rpc:x:999:999::/:/bin/false +rpc:x:998:998::/:/bin/false +messagebus:x:999:999::/var/lib/dbus:/bin/false nobody:x:65534:65534:nobody:/nonexistent:/bin/sh -- Changes to images/qemumips64/glibc/core-image-sato-sdk (files-in-image.txt): /var/cache/fontconfig/1bb3c94e-cbc5-4291-971f-b8fe532ee9f2-be64.cache-7 was added /var/cache/fontconfig/1fb4ff13-57cc-4d42-a7f2-16b626558db0-be64.cache-7 was added /var/cache/fontconfig/2a207ed8-7ace-46c1-a45f-c83ba400ec18-be64.cache-7 was added /var/cache/fontconfig/2cf3fbd0-8852-440b-bd85-435d58e66b02-be64.cache-7 was added /var/cache/fontconfig/33d735e4-2e3b-491d-b1c4-d25f92eae6d5-be64.cache-7 was added /var/cache/fontconfig/6bf801f2-bce1-47cd-b4f4-a99b18ca4d44-be64.cache-7 was added /var/cache/fontconfig/ca42d77f-d4bc-45ff-9a4e-958efccfa8c2-be64.cache-7 was added /var/cache/fontconfig/062cda06-3af0-48b8-8d96-35b69ddcb473-be64.cache-7 was removed /var/cache/fontconfig/3ea57547-db70-4a84-b9b6-256f58a0f0e4-be64.cache-7 was removed /var/cache/fontconfig/445803c8-2645-44cb-aa27-2f6a6be64400-be64.cache-7 was removed /var/cache/fontconfig/6a120cce-0123-472d-a817-ef45cf3b5286-be64.cache-7 was removed /var/cache/fontconfig/da10055b-c973-4aab-9cfc-1b8ba6a6388c-be64.cache-7 was removed /var/cache/fontconfig/e7453880-850f-41f8-958a-e75571b8d574-be64.cache-7 was removed /var/cache/fontconfig/f927fea9-7434-4d1d-b0ca-b282f20aef32-be64.cache-7 was removed images/qemumips64/glibc/core-image-sato-sdk: Changes to /etc/group: --- /etc/group +++ /etc/group @@ -40,10 +40,10 @@ shutdown:x:70: users:x:100: pulse:x:994:pulse -avahi:x:995: -messagebus:x:996: -sshd:x:997: -rpc:x:998: +sshd:x:995: +avahi:x:996: +rpc:x:997: +messagebus:x:998: crontab:x:999: tracing:x:1000: nogroup:x:65534: -- images/qemumips64/glibc/core-image-sato-sdk: Changes to /etc/passwd: --- /etc/passwd +++ /etc/passwd @@ -16,8 +16,8 @@ irc:x:39:39:ircd:/var/run/ircd:/bin/sh gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh pulse:x:995:994::/var/run/pulse:/bin/false -avahi:x:996:995::/run/avahi-daemon:/bin/false -messagebus:x:997:996::/var/lib/dbus:/bin/false -sshd:x:998:997::/var/run/sshd:/bin/false -rpc:x:999:998::/:/bin/false +sshd:x:996:995::/var/run/sshd:/bin/false +avahi:x:997:996::/run/avahi-daemon:/bin/false +rpc:x:998:997::/:/bin/false +messagebus:x:999:998::/var/lib/dbus:/bin/false nobody:x:65534:65534:nobody:/nonexistent:/bin/sh -- Changes to images/qemumips64/glibc/core-image-sato (files-in-image.txt): /var/cache/fontconfig/46a6b345-63ca-41bf-a9ce-c74dd9fbb8be-be64.cache-7 was added /var/cache/fontconfig/a4951eec-8ef5-4dd2-9570-787a1d70f85e-be64.cache-7 was added /var/cache/fontconfig/2a409ad2-0562-4950-9a40-3aea121daa7e-be64.cache-7 was removed /var/cache/fontconfig/41fdb4a2-6bc2-4cff-92d0-c8d7f258e40f-be64.cache-7 was removed images/qemumips64/glibc/core-image-sato: Changes to /etc/group: --- /etc/group +++ /etc/group @@ -41,6 +41,6 @@ users:x:100: pulse:x:996:pulse avahi:x:997: -messagebus:x:998: -rpc:x:999: +rpc:x:998: +messagebus:x:999: nogroup:x:65534: -- images/qemumips64/glibc/core-image-sato: Changes to /etc/passwd: --- /etc/passwd +++ /etc/passwd @@ -17,6 +17,6 @@ gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh pulse:x:996:996::/var/run/pulse:/bin/false avahi:x:997:997::/run/avahi-daemon:/bin/false -messagebus:x:998:998::/var/lib/dbus:/bin/false -rpc:x:999:999::/:/bin/false +rpc:x:998:998::/:/bin/false +messagebus:x:999:999::/var/lib/dbus:/bin/false nobody:x:65534:65534:nobody:/nonexistent:/bin/sh -- packages/mips64r2-poky-linux/dbus/dbus-common: RDEPENDS: added "shadow base-passwd base-files" packages/mips64r2-poky-linux/dbus/dbus: latest.pkg_preinst changed from "#!/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="--system --home /var/lib/dbus --no-create-home --shell /bin/false --user-group messagebus" 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="--system --home /var/lib/dbus --no-create-home --shell /bin/false --user-group messagebus" 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/mips64r2-poky-linux/dbus/dbus: RDEPENDS: removed "shadow base-passwd base-files"