alpine-baselayout-3.6.5-r0.Q1qKcZ+j23xssAXmgQhkOO8dHnbWw=.pre-install000075500000000000000000000000070014616104417023657 0ustar rootroot#!/bin/sh addgroup -S -g 42 shadow 2>/dev/null exit 0 alpine-baselayout-3.6.5-r0.Q1qKcZ+j23xssAXmgQhkOO8dHnbWw=.post-install000075500000000000000000000000705014616104417024063 0ustar rootroot#!/bin/sh # update color_prompt.sh symlink (if exists) after we renamed color_prompt to # color_prompt.sh.disabled. case "$(readlink etc/profile.d/color_prompt.sh 2>/dev/null || true)" in color_prompt) ln -sf color_prompt.sh.disabled etc/profile.d/color_prompt.sh;; esac # the /etc/group file is created after /etc/shadow. Needed to apply the group # properly. chown root:shadow etc/shadow [ -e etc/shadow- ] && chown root:shadow etc/shadow- exit 0 alpine-baselayout-3.6.5-r0.Q1qKcZ+j23xssAXmgQhkOO8dHnbWw=.pre-upgrade000075500000000000000000000001345014616104417023646 0ustar rootroot#!/bin/sh # we need to have our modprobe.d files with .conf suffix for i in etc/modprobe.d/*; do # ignore files that does not exist (i.e if modprobe.d is empty) [ -r "$i" ] || continue # ignore files that have an extension case "$i" in *.*) continue;; esac # append extension mv "$i" "$i".conf done # migrate /var/run directory to /run if [ -d var/run ] && [ ! -L var/run ]; then cp -a var/run/* run 2>/dev/null rm -rf var/run ln -s ../run var/run fi # migrate /var/spool/mail directory to /var/mail if [ -d var/spool/mail ] && [ ! -L var/spool/mail ]; then mkdir -p var/mail cp -a var/spool/mail/* var/mail/ 2>/dev/null rm -rf var/spool/mail ln -s ../mail var/spool/mail fi addgroup -S -g 42 shadow 2>/dev/null exit 0 alpine-baselayout-3.6.5-r0.Q1qKcZ+j23xssAXmgQhkOO8dHnbWw=.post-upgrade000075500000000000000000000000705014616104417024044 0ustar rootroot#!/bin/sh # update color_prompt.sh symlink (if exists) after we renamed color_prompt to # color_prompt.sh.disabled. case "$(readlink etc/profile.d/color_prompt.sh 2>/dev/null || true)" in color_prompt) ln -sf color_prompt.sh.disabled etc/profile.d/color_prompt.sh;; esac # the /etc/group file is created after /etc/shadow. Needed to apply the group # properly. chown root:shadow etc/shadow [ -e etc/shadow- ] && chown root:shadow etc/shadow- exit 0 busybox-1.36.1-r29.Q1yY8lhMF1VhgegJgkcXfqaNabDJw=.post-install000075500000000000000000000000517014631523463022402 0ustar rootroot#!/bin/busybox sh # We need the symlinks early /bin/busybox mkdir -p "/bin" "/sbin" "/usr/bin" "/usr/sbin" /bin/busybox --install -s || exit 1 # can't be in pre-install since adduser/group may not available then addgroup -S klogd 2>/dev/null adduser -S -D -H -h /dev/null -s /sbin/nologin -G klogd -g klogd klogd 2>/dev/null exit 0 busybox-1.36.1-r29.Q1yY8lhMF1VhgegJgkcXfqaNabDJw=.post-upgrade000075500000000000000000000002626014631523463022366 0ustar rootroot#!/bin/busybox sh # remove links that has been relocated or removed # - generate a list of all symlinks in bin dirs and a list with all busybox # applets # - sort the list and print all lines that are unique. This is the list of # symlinks that does not exist in the busybox applets list. # - use stat to find the target of those symlinks printed as: # '/path/to/symlink' -> '/path/to/target' # The "2>/dev/null" is used to stop "can't stat" warnings appearing on # the console for each new command added by the new version of the # busybox package. # - use awk to print the symlinks that points to '/bin/busybox' # - use sed to strip the leading and training ' chars # - finally pass the list to rm for removing the symlinks that points to # busybox but does not exist in the `busybox --list-all` list ( find bin sbin usr/bin usr/sbin -maxdepth 1 -type l; busybox --list-all) \ | sort | uniq -u \ | xargs -r stat -c "%N" 2>/dev/null \ | awk "\$3 == \"'/bin/busybox'\" {print \$1}" \ | sed "s/^'//; s/'$//" \ | xargs -r rm for link in /bin/ping /bin/ping6; do if [ -L "$link" ] && [ "$(readlink $link)" = "/bin/bbsuid" ]; then rm "$link" fi done # We need the symlinks early /bin/busybox --install -s || exit 1 # can't be in pre-upgrade since adduser/group may not available then addgroup -S klogd 2>/dev/null adduser -S -D -H -h /dev/null -s /sbin/nologin -G klogd -g klogd klogd 2>/dev/null exit 0 busybox-1.36.1-r29.Q1yY8lhMF1VhgegJgkcXfqaNabDJw=.trigger000075500000000000000000000001042014631523463021406 0ustar rootroot#!/bin/sh do_bb_install= for i in "$@"; do case "$i" in /lib/modules/*) # don't run busybox depmod if we have kmod installed # we dont need to run it twice. target=$(readlink -f "$(command -v depmod || true)") if [ -d "$i" ] && [ "$target" = "/bin/busybox" ]; then /bin/busybox depmod ${i#/lib/modules/} fi ;; *) do_bb_install=yes;; esac done if [ -n "$do_bb_install" ]; then [ -e /bin/bbsuid ] && /bin/bbsuid --install [ -e /bin/busybox-extras ] && /bin/busybox-extras --install -s /bin/busybox --install -s fi ca-certificates-20240705-r0.Q1+HdS8QDcXNfNIg+wrMfvKo3OZOw=.post-deinstall000075500000000000000000000000211014643204757024031 0ustar rootroot#!/bin/sh # clean up broken symlinks store find -L /etc/ssl/certs -maxdepth 1 -type l -delete rmdir /etc/ssl/certs 2>/dev/null || true ca-certificates-20240705-r0.Q1+HdS8QDcXNfNIg+wrMfvKo3OZOw=.trigger000075500000000000000000000000077014643204757022544 0ustar rootroot#!/bin/sh /usr/sbin/update-ca-certificates &> /dev/null exit 0