diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2015-06-07 12:31:30 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2015-06-07 12:31:30 +0200 |
commit | 42b599fa979f9d8dda7cbce6b257e161a85ce49d (patch) | |
tree | 4d92984a14694c21c5d65fbeaf1d99534fb4d886 /mkrootfs.sh.in | |
parent | 52c027ad0c9c4c35aaeae02a84244884df81c47a (diff) | |
download | hrmpf-42b599fa979f9d8dda7cbce6b257e161a85ce49d.tar.gz hrmpf-42b599fa979f9d8dda7cbce6b257e161a85ce49d.tar.xz hrmpf-42b599fa979f9d8dda7cbce6b257e161a85ce49d.zip |
mkrootfs: update for xbps-0.45.
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 # |