mkrootfs: update for xbps-0.45.
This commit is contained in:
parent
52c027ad0c
commit
42b599fa97
@ -200,24 +200,17 @@ if [ -n "${_ARCH}" ]; then
|
|||||||
info_msg "Reconfiguring packages for ${_ARCH} ..."
|
info_msg "Reconfiguring packages for ${_ARCH} ..."
|
||||||
case "$PLATFORM" in
|
case "$PLATFORM" in
|
||||||
i686*|x86_64*)
|
i686*|x86_64*)
|
||||||
run_cmd "XBPS_ARCH=$_ARCH xbps-reconfigure -r $rootfs base-directories"
|
run_cmd "XBPS_ARCH=$_ARCH xbps-reconfigure -r $rootfs base-files"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
register_binfmt
|
register_binfmt
|
||||||
run_cmd "xbps-reconfigure -r $rootfs base-directories"
|
run_cmd "xbps-reconfigure -r $rootfs base-files"
|
||||||
|
run_cmd "chroot $rootfs env -i xbps-reconfigure -f base-files"
|
||||||
rmdir $rootfs/usr/lib32
|
rmdir $rootfs/usr/lib32
|
||||||
rm -f $rootfs/lib32 $rootfs/lib64 $rootfs/usr/lib64
|
rm -f $rootfs/lib32 $rootfs/lib64 $rootfs/usr/lib64
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
run_cmd "chroot $rootfs xbps-reconfigure shadow"
|
|
||||||
if [ "$PKGBASE" = "base-system-systemd" ]; then
|
|
||||||
run_cmd "chroot $rootfs xbps-reconfigure systemd"
|
|
||||||
fi
|
|
||||||
run_cmd "chroot $rootfs xbps-reconfigure -a"
|
run_cmd "chroot $rootfs xbps-reconfigure -a"
|
||||||
else
|
|
||||||
if [ "$PKGBASE" = "base-system-systemd" ]; then
|
|
||||||
run_cmd "chroot $rootfs xbps-reconfigure systemd"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user