packages/core2-32-poky-linux/dbus/dbus-common: RDEPENDS: added "base-passwd base-files shadow" 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 "base-passwd base-files shadow" packages/core2-32-poky-linux/net-tools: PACKAGES: added "net-tools-netstat net-tools-domainname net-tools-ipmaddr net-tools-nameif net-tools-ypdomainname net-tools-route net-tools-slattach net-tools-hostname net-tools-ifconfig net-tools-nisdomainname net-tools-dnsdomainname net-tools-man net-tools-rarp net-tools-plipconfig net-tools-arp net-tools-mii-tool net-tools-iptunnel" packages/core2-32-poky-linux/net-tools/net-tools-dev: RRECOMMENDS: added "net-tools-hostname-dev" packages/core2-32-poky-linux/net-tools/net-tools: PKGSIZE changed from 490048 to 0 (-100%) packages/core2-32-poky-linux/net-tools/net-tools: RRECOMMENDS: added "net-tools-route net-tools-slattach net-tools-hostname net-tools-ifconfig net-tools-man net-tools-plipconfig net-tools-arp net-tools-mii-tool net-tools-domainname net-tools-netstat net-tools-ipmaddr net-tools-nameif net-tools-ypdomainname net-tools-nisdomainname net-tools-dnsdomainname net-tools-rarp net-tools-iptunnel" packages/core2-32-poky-linux/net-tools/net-tools: RDEPENDS: removed all items "update-alternatives-opkg glibc (['>= 2.32'])" Changes to packages/core2-32-poky-linux/net-tools (sysroot): /sysroot-providers/net-tools-arp was added /sysroot-providers/net-tools-dnsdomainname was added /sysroot-providers/net-tools-domainname was added /sysroot-providers/net-tools-hostname was added /sysroot-providers/net-tools-ifconfig was added /sysroot-providers/net-tools-ipmaddr was added /sysroot-providers/net-tools-iptunnel was added /sysroot-providers/net-tools-man was added /sysroot-providers/net-tools-mii-tool was added /sysroot-providers/net-tools-nameif was added /sysroot-providers/net-tools-netstat was added /sysroot-providers/net-tools-nisdomainname was added /sysroot-providers/net-tools-plipconfig was added /sysroot-providers/net-tools-rarp was added /sysroot-providers/net-tools-route was added /sysroot-providers/net-tools-slattach was added /sysroot-providers/net-tools-ypdomainname was added Changes to packages/core2-32-poky-linux/ppp (sysroot): /usr/lib/pppd/2.4.8/pppoatm.so changed permissions from rwxr-x--- to rwsr-x--- /usr/lib/pppd/2.4.8/rp-pppoe.so changed permissions from rwxr-x--- to rwsr-x--- Changes to packages/core2-32-poky-linux/procps (sysroot): /sysroot-providers/procps-free was added /sysroot-providers/procps-kill was added /sysroot-providers/procps-lib was added /sysroot-providers/procps-man was added /sysroot-providers/procps-pgrep was added /sysroot-providers/procps-pidof was added /sysroot-providers/procps-pkill was added /sysroot-providers/procps-pmap was added /sysroot-providers/procps-ps was added /sysroot-providers/procps-pwdx was added /sysroot-providers/procps-skill was added /sysroot-providers/procps-slabtop was added /sysroot-providers/procps-snice was added /sysroot-providers/procps-sysctl was added /sysroot-providers/procps-tload was added /sysroot-providers/procps-top was added /sysroot-providers/procps-uptime was added /sysroot-providers/procps-vmstat was added /sysroot-providers/procps-w was added /sysroot-providers/procps-watch was added packages/core2-32-poky-linux/net-tools/net-tools: pkg_postinst cleared: @@ -1,18 +0,0 @@ -#!/bin/sh -set -e - update-alternatives --install /sbin/ipmaddr ipmaddr /sbin/ipmaddr.net-tools 100 - update-alternatives --install /sbin/iptunnel iptunnel /sbin/iptunnel.net-tools 100 - update-alternatives --install /sbin/mii-tool mii-tool /sbin/mii-tool.net-tools 100 - update-alternatives --install /sbin/nameif nameif /sbin/nameif.net-tools 100 - update-alternatives --install /sbin/arp arp /sbin/arp.net-tools 100 - update-alternatives --install /sbin/rarp rarp /sbin/rarp.net-tools 100 - update-alternatives --install /sbin/plipconfig plipconfig /sbin/plipconfig.net-tools 100 - update-alternatives --install /sbin/slattach slattach /sbin/slattach.net-tools 100 - update-alternatives --install /bin/ifconfig ifconfig /bin/ifconfig.net-tools 100 - update-alternatives --install /bin/netstat netstat /bin/netstat.net-tools 100 - update-alternatives --install /bin/route route /bin/route.net-tools 100 - update-alternatives --install /bin/dnsdomainname dnsdomainname /bin/dnsdomainname.net-tools 100 - update-alternatives --install /bin/domainname domainname /bin/domainname.net-tools 100 - update-alternatives --install /bin/hostname hostname /bin/hostname.net-tools 100 - update-alternatives --install /bin/nisdomainname nisdomainname /bin/nisdomainname.net-tools 100 - update-alternatives --install /bin/ypdomainname ypdomainname /bin/ypdomainname.net-tools 100 -- packages/core2-32-poky-linux/net-tools/net-tools: pkg_prerm cleared: @@ -1,18 +0,0 @@ -#!/bin/sh -set -e - update-alternatives --remove ipmaddr /sbin/ipmaddr.net-tools - update-alternatives --remove iptunnel /sbin/iptunnel.net-tools - update-alternatives --remove mii-tool /sbin/mii-tool.net-tools - update-alternatives --remove nameif /sbin/nameif.net-tools - update-alternatives --remove arp /sbin/arp.net-tools - update-alternatives --remove rarp /sbin/rarp.net-tools - update-alternatives --remove plipconfig /sbin/plipconfig.net-tools - update-alternatives --remove slattach /sbin/slattach.net-tools - update-alternatives --remove ifconfig /bin/ifconfig.net-tools - update-alternatives --remove netstat /bin/netstat.net-tools - update-alternatives --remove route /bin/route.net-tools - update-alternatives --remove dnsdomainname /bin/dnsdomainname.net-tools - update-alternatives --remove domainname /bin/domainname.net-tools - update-alternatives --remove hostname /bin/hostname.net-tools - update-alternatives --remove nisdomainname /bin/nisdomainname.net-tools - update-alternatives --remove ypdomainname /bin/ypdomainname.net-tools --