diff options
Diffstat (limited to 'mkrootfs.sh.in')
-rw-r--r-- | mkrootfs.sh.in | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/mkrootfs.sh.in b/mkrootfs.sh.in index 66c8cdc..6d380bc 100644 --- a/mkrootfs.sh.in +++ b/mkrootfs.sh.in @@ -200,24 +200,17 @@ if [ -n "${_ARCH}" ]; then info_msg "Reconfiguring packages for ${_ARCH} ..." case "$PLATFORM" in 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 - 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 rm -f $rootfs/lib32 $rootfs/lib64 $rootfs/usr/lib64 ;; 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" -else - if [ "$PKGBASE" = "base-system-systemd" ]; then - run_cmd "chroot $rootfs xbps-reconfigure systemd" - fi fi # |