images/qemux86/glibc/core-image-full-cmdline: Changes to /etc/group: --- /etc/group +++ /etc/group @@ -44,8 +44,8 @@ systemd-resolve:x:992: systemd-network:x:993: systemd-journal:x:994: -messagebus:x:995: -sshd:x:996: +sshd:x:995: +messagebus:x:996: crontab:x:997: rpcuser:x:998: rpc:x:999: -- images/qemux86/glibc/core-image-full-cmdline: Changes to /etc/passwd: --- /etc/passwd +++ /etc/passwd @@ -19,8 +19,8 @@ systemd-timesync:x:993:991::/:/bin/nologin systemd-resolve:x:994:992::/:/bin/nologin systemd-network:x:995:993::/:/bin/nologin -messagebus:x:996:995::/var/lib/dbus:/bin/false -sshd:x:997:996::/var/run/sshd:/bin/false +sshd:x:996:995::/var/run/sshd:/bin/false +messagebus:x:997:996::/var/lib/dbus:/bin/false rpcuser:x:998:998::/var/lib/nfs:/bin/false rpc:x:999:999::/:/bin/false nobody:x:65534:65534:nobody:/nonexistent:/bin/sh -- Changes to images/qemux86/glibc/core-image-sato-sdk (files-in-image.txt): /var/cache/fontconfig/1a9b896a-bd4a-44a3-bc02-e54cac705223-le32d4.cache-7 was added /var/cache/fontconfig/2f0c4224-2c68-45df-92b0-bb8659f2bb89-le32d4.cache-7 was added /var/cache/fontconfig/580581a9-2666-41e0-b5f6-7dd1b165c39d-le32d4.cache-7 was added /var/cache/fontconfig/744455e9-2cae-4ebc-9af7-e3cbdc1a5cb7-le32d4.cache-7 was added /var/cache/fontconfig/7de33a31-b009-4a57-b6e3-0968aa465af2-le32d4.cache-7 was added /var/cache/fontconfig/90c48dca-f02f-4e96-8087-605aad036512-le32d4.cache-7 was added /var/cache/fontconfig/95fead50-82dc-4fe8-a000-e705257183e3-le32d4.cache-7 was added /var/cache/fontconfig/13290168-72d1-4fa8-862a-e881bf133ced-le32d4.cache-7 was removed /var/cache/fontconfig/52bb087b-2bfc-4094-adfb-24b5cfd1787f-le32d4.cache-7 was removed /var/cache/fontconfig/54cb9e1b-9136-4c0c-a9c4-819877495182-le32d4.cache-7 was removed /var/cache/fontconfig/80e26d79-f94a-459f-9fd0-c1ad871f4a89-le32d4.cache-7 was removed /var/cache/fontconfig/ac9d6dc4-dcb2-4274-9fe9-453482d276a6-le32d4.cache-7 was removed /var/cache/fontconfig/b29421da-3e58-44b5-b825-e6fe77200563-le32d4.cache-7 was removed /var/cache/fontconfig/e529cfac-1754-4e70-9933-00da6f2d6c80-le32d4.cache-7 was removed images/qemux86/glibc/core-image-sato-sdk: Changes to /etc/group: --- /etc/group +++ /etc/group @@ -40,15 +40,15 @@ shutdown:x:70: users:x:100: pulse:x:989:pulse -avahi:x:990: -systemd-bus-proxy:x:991: -systemd-timesync:x:992: -systemd-resolve:x:993: -systemd-network:x:994: -systemd-journal:x:995: -messagebus:x:996: -sshd:x:997: -rpc:x:998: +systemd-bus-proxy:x:990: +systemd-timesync:x:991: +systemd-resolve:x:992: +systemd-network:x:993: +systemd-journal:x:994: +sshd:x:995: +avahi:x:996: +rpc:x:997: +messagebus:x:998: crontab:x:999: tracing:x:1000: nogroup:x:65534: -- images/qemux86/glibc/core-image-sato-sdk: Changes to /etc/passwd: --- /etc/passwd +++ /etc/passwd @@ -16,12 +16,12 @@ 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:991:989::/var/run/pulse:/bin/false -avahi:x:992:990::/run/avahi-daemon:/bin/false -systemd-bus-proxy:x:993:991::/:/bin/nologin -systemd-timesync:x:994:992::/:/bin/nologin -systemd-resolve:x:995:993::/:/bin/nologin -systemd-network:x:996:994::/:/bin/nologin -messagebus:x:997:996::/var/lib/dbus:/bin/false -sshd:x:998:997::/var/run/sshd:/bin/false -rpc:x:999:998::/:/bin/false +systemd-bus-proxy:x:992:990::/:/bin/nologin +systemd-timesync:x:993:991::/:/bin/nologin +systemd-resolve:x:994:992::/:/bin/nologin +systemd-network:x:995:993::/:/bin/nologin +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/glibc/core-image-sato (files-in-image.txt): /var/cache/fontconfig/00fdec81-972a-4788-b8a3-8a98f30e968e-le32d4.cache-7 was added /var/cache/fontconfig/f33949e2-6c1b-47f0-a963-977ae88c973e-le32d4.cache-7 was added /var/cache/fontconfig/a9cb2dbc-0463-441c-9684-5cb9a329d4e5-le32d4.cache-7 was removed /var/cache/fontconfig/df3fde6d-826c-45e9-88d7-3385144ad2eb-le32d4.cache-7 was removed images/qemux86/glibc/core-image-sato: Changes to /etc/group: --- /etc/group +++ /etc/group @@ -40,12 +40,12 @@ shutdown:x:70: users:x:100: pulse:x:991:pulse -avahi:x:992: -systemd-bus-proxy:x:993: -systemd-timesync:x:994: -systemd-resolve:x:995: -systemd-network:x:996: -systemd-journal:x:997: -messagebus:x:998: -rpc:x:999: +systemd-bus-proxy:x:992: +systemd-timesync:x:993: +systemd-resolve:x:994: +systemd-network:x:995: +systemd-journal:x:996: +rpc:x:997: +avahi:x:998: +messagebus:x:999: nogroup:x:65534: -- images/qemux86/glibc/core-image-sato: Changes to /etc/passwd: --- /etc/passwd +++ /etc/passwd @@ -16,11 +16,11 @@ 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:992:991::/var/run/pulse:/bin/false -avahi:x:993:992::/run/avahi-daemon:/bin/false -systemd-bus-proxy:x:994:993::/:/bin/nologin -systemd-timesync:x:995:994::/:/bin/nologin -systemd-resolve:x:996:995::/:/bin/nologin -systemd-network:x:997:996::/:/bin/nologin -messagebus:x:998:998::/var/lib/dbus:/bin/false -rpc:x:999:999::/:/bin/false +systemd-bus-proxy:x:993:992::/:/bin/nologin +systemd-timesync:x:994:993::/:/bin/nologin +systemd-resolve:x:995:994::/:/bin/nologin +systemd-network:x:996:995::/:/bin/nologin +rpc:x:997:997::/:/bin/false +avahi:x:998:998::/run/avahi-daemon:/bin/false +messagebus:x:999:999::/var/lib/dbus:/bin/false nobody:x:65534:65534:nobody:/nonexistent:/bin/sh -- packages/core2-32-poky-linux/dbus/dbus-common: RDEPENDS: added "shadow base-files base-passwd" packages/core2-32-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-32-poky-linux/dbus/dbus: RDEPENDS: removed "shadow base-files base-passwd" Changes to packages/x86_64-linux/pseudo-native (sysroot): /usr/bin/pseudo changed permissions from rwxrwxr-x to rwxr-xr-x /usr/bin/pseudodb changed permissions from rwxrwxr-x to rwxr-xr-x /usr/bin/pseudolog changed permissions from rwxrwxr-x to rwxr-xr-x /usr/lib/pseudo changed permissions from rwxrwxr-x to rwxr-xr-x /usr/lib/pseudo/lib64 changed permissions from rwxrwxr-x to rwxr-xr-x /usr/lib/pseudo/lib64/libpseudo.so changed permissions from rwxrwxr-x to rwxr-xr-x Changes to packages/x86_64-linux/shadow-native (sysroot): /var/spool/mail changed permissions from rwxrwxr-x to rwxr-xr-x