Changes to images/qemuarm/glibc/core-image-sato-dev (files-in-image.txt): /var/cache/fontconfig/14ca3466-826b-4f84-84e8-e29886c35c7e-le32d8.cache-7 was added /var/cache/fontconfig/16f226ed-b6dc-4afe-8a96-6677db56751d-le32d8.cache-7 was added /var/cache/fontconfig/3de0c2d8-1bec-401f-a830-78865b16ba60-le32d8.cache-7 was added /var/cache/fontconfig/45208787-bc83-425c-b87d-d4c1884a4422-le32d8.cache-7 was added /var/cache/fontconfig/7d701aad-b88a-4b6e-9bf2-dcac99693feb-le32d8.cache-7 was added /var/cache/fontconfig/bad28985-4bd5-49f4-b14a-5e7416d615fe-le32d8.cache-7 was added /var/cache/fontconfig/c1e13274-f9c8-45d6-857b-d7efa2482c08-le32d8.cache-7 was added /var/cache/fontconfig/32cbf3d9-97d2-4ca3-9c01-29795a9c2b84-le32d8.cache-7 was removed /var/cache/fontconfig/407a43ab-3e33-4f75-b354-1ea3cf700343-le32d8.cache-7 was removed /var/cache/fontconfig/6cb6e24b-4ad2-4e42-b97c-72c43814abf9-le32d8.cache-7 was removed /var/cache/fontconfig/828e3dc7-00ec-4fa7-a86a-b4d828342229-le32d8.cache-7 was removed /var/cache/fontconfig/9827366b-5554-4a0c-a44a-4f3d55fd34e8-le32d8.cache-7 was removed /var/cache/fontconfig/9c719217-f05f-4196-b927-34be73a4930d-le32d8.cache-7 was removed /var/cache/fontconfig/d81c4d9e-39ce-416a-94ae-1f33a0b3b838-le32d8.cache-7 was removed images/qemuarm/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/qemuarm/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/qemuarm/glibc/core-image-sato-sdk (files-in-image.txt): /var/cache/fontconfig/0d8d61a1-035f-42f3-b33d-761b257d9a11-le32d8.cache-7 was added /var/cache/fontconfig/488432b4-eafe-488e-8c0f-eca1e01094c1-le32d8.cache-7 was added /var/cache/fontconfig/762151eb-610d-47ff-a85b-e86db6709fd4-le32d8.cache-7 was added /var/cache/fontconfig/9cc1d31f-6096-4a10-bd5c-7b762d6fec6b-le32d8.cache-7 was added /var/cache/fontconfig/ae5d8809-7fa8-4741-b662-c26b8c0a34cd-le32d8.cache-7 was added /var/cache/fontconfig/dc5ce582-7dde-462b-b2b0-5644bd281a68-le32d8.cache-7 was added /var/cache/fontconfig/dc965232-ba40-45f7-b408-afd9854e7570-le32d8.cache-7 was added /var/cache/fontconfig/06a3d8ad-35e0-4b13-9c7c-ff0877a84d21-le32d8.cache-7 was removed /var/cache/fontconfig/40ae6fa5-c500-4e72-bb70-c209b6a4ad15-le32d8.cache-7 was removed /var/cache/fontconfig/4f3ece7e-0eaf-4d6a-83c8-3ad86cb38e74-le32d8.cache-7 was removed /var/cache/fontconfig/936890ab-62f1-4c5f-914e-489f4d454474-le32d8.cache-7 was removed /var/cache/fontconfig/aa3254bc-82eb-4e95-8c3b-7327da7f1705-le32d8.cache-7 was removed /var/cache/fontconfig/aa62323e-5bb2-45ed-9406-5d300fb539ab-le32d8.cache-7 was removed /var/cache/fontconfig/d938a46f-5820-4e2f-9218-23d6472fba55-le32d8.cache-7 was removed images/qemuarm/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/qemuarm/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/qemuarm/glibc/core-image-sato (files-in-image.txt): /var/cache/fontconfig/9c2d697f-105e-425f-aff8-0c7bc01df67a-le32d8.cache-7 was added /var/cache/fontconfig/b7588a9a-7ffa-4adf-933a-b08a5279fa60-le32d8.cache-7 was added /var/cache/fontconfig/3234ac9c-3d5e-4da0-a7c6-b70087268e0c-le32d8.cache-7 was removed /var/cache/fontconfig/8199ee9c-5071-4b6a-b0ba-791da3c12a3b-le32d8.cache-7 was removed images/qemuarm/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/qemuarm/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/armv7vet2hf-neon-poky-linux-gnueabi/dbus/dbus-common: RDEPENDS: added "base-files base-passwd shadow" packages/armv7vet2hf-neon-poky-linux-gnueabi/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/armv7vet2hf-neon-poky-linux-gnueabi/dbus/dbus: RDEPENDS: removed "base-files base-passwd shadow"