From 42b599fa979f9d8dda7cbce6b257e161a85ce49d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 7 Jun 2015 12:31:30 +0200 Subject: mkrootfs: update for xbps-0.45. --- mkrootfs.sh.in | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'mkrootfs.sh.in') 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 # -- cgit 1.4.1