Changes to images/qemux86_64/glibc/core-image-sato-dev (files-in-image.txt): /var/cache/fontconfig/29d22028-6bfa-4da6-9a28-1e17d5ef6779-le64.cache-7 was added /var/cache/fontconfig/6ca4b9b1-ce39-44d1-8636-fdd190d0771b-le64.cache-7 was added /var/cache/fontconfig/c53e8ce1-4fff-404a-8493-8e4843a4d144-le64.cache-7 was added /var/cache/fontconfig/d22836cc-77b5-49f4-b1b3-6089e7901b10-le64.cache-7 was added /var/cache/fontconfig/e1909bd4-6e1d-458f-b4aa-e9a5ae77a0ad-le64.cache-7 was added /var/cache/fontconfig/efce24d6-0e95-4876-a2c3-a713da96e9db-le64.cache-7 was added /var/cache/fontconfig/f0440cc8-ab4b-48f0-8f46-a58ae299b5d8-le64.cache-7 was added /var/cache/fontconfig/0d5df310-fa4a-4d3e-bd09-451c71b395c0-le64.cache-7 was removed /var/cache/fontconfig/136686aa-6329-4be7-8515-b51144d0f033-le64.cache-7 was removed /var/cache/fontconfig/3cb4e3b9-d769-4d9c-a96b-0bc9ab6fa978-le64.cache-7 was removed /var/cache/fontconfig/6f0da0c7-dbee-410c-aaca-23c36323af70-le64.cache-7 was removed /var/cache/fontconfig/b0c1874a-8759-4f57-9b6e-2534400c9016-le64.cache-7 was removed /var/cache/fontconfig/b828fd2c-c98a-4d89-807a-cbd27efd4d81-le64.cache-7 was removed /var/cache/fontconfig/fe089683-f207-44e5-bdfd-0a20710ad84e-le64.cache-7 was removed images/qemux86_64/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/qemux86_64/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/qemux86_64/glibc/core-image-sato-sdk (files-in-image.txt): /var/cache/fontconfig/0540c893-dcd2-45c0-960a-3b9321adf189-le64.cache-7 was added /var/cache/fontconfig/283bb8b6-3f15-45f6-9736-ef467b1051f0-le64.cache-7 was added /var/cache/fontconfig/84acc8f3-4c80-4ed3-a996-e42baf02db3a-le64.cache-7 was added /var/cache/fontconfig/bb9b0b0c-9fee-4a78-972c-52fb9aa42e7f-le64.cache-7 was added /var/cache/fontconfig/bc0f9db5-517d-4b87-a8ad-48ef804f04f2-le64.cache-7 was added /var/cache/fontconfig/d2f7ab61-486c-41f0-a6b9-c96436da68b2-le64.cache-7 was added /var/cache/fontconfig/d61a0769-f99d-403a-8126-9a66cf05e333-le64.cache-7 was added /var/cache/fontconfig/073813f9-5751-420e-8eaf-d7d05f9214ff-le64.cache-7 was removed /var/cache/fontconfig/1227a6a5-52be-45b6-8938-2a3887c5f1ad-le64.cache-7 was removed /var/cache/fontconfig/3d1cd878-aa8f-4fa6-8c7c-9eb75978c727-le64.cache-7 was removed /var/cache/fontconfig/640a043d-4c9f-48d3-a2ce-e9d6ec6a43ef-le64.cache-7 was removed /var/cache/fontconfig/b29a4faf-cf0e-405b-8b54-0a264a06adde-le64.cache-7 was removed /var/cache/fontconfig/c171c46a-649d-45a6-a5bd-61aed2990fc3-le64.cache-7 was removed /var/cache/fontconfig/f572fd12-6ffd-4d15-8f9d-86c2084e673d-le64.cache-7 was removed images/qemux86_64/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/qemux86_64/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/qemux86_64/glibc/core-image-sato (files-in-image.txt): /var/cache/fontconfig/717e2ffa-9d6b-4d6d-979f-88d25c801158-le64.cache-7 was added /var/cache/fontconfig/a7251830-48f7-40f5-9a31-99b84999aed3-le64.cache-7 was added /var/cache/fontconfig/2b9890b5-8931-470e-bb83-419a9af4cec3-le64.cache-7 was removed /var/cache/fontconfig/936b5db6-d88e-4a5a-8f5a-8d8f5460821f-le64.cache-7 was removed images/qemux86_64/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/qemux86_64/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/core2-64-poky-linux/dbus/dbus-common: RDEPENDS: added "base-files shadow base-passwd" packages/core2-64-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/core2-64-poky-linux/dbus/dbus: RDEPENDS: removed "base-files shadow base-passwd"