summaryrefslogtreecommitdiff
path: root/configs/profile/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'configs/profile/build.sh')
-rwxr-xr-xconfigs/profile/build.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/configs/profile/build.sh b/configs/profile/build.sh
index 02eb436..ecd1351 100755
--- a/configs/profile/build.sh
+++ b/configs/profile/build.sh
@@ -139,15 +139,14 @@ make_packages() {
# download cache packages
setarch ${arch} mkparabolaiso ${verbose} -w ${work_dir}/${arch} -C ${pacman_conf} -D ${iso_dirname} -p "${_cache_packages}" -O install
fi
+ # create 'isorepo' for offline install
+ pushd ${work_dir}/${arch}/root-image/isorepo > /dev/null
+ setarch ${arch} repo-add --new isorepo.db.tar.gz ./*
+ popd > /dev/null
else
# stash package cache for next build
mv ${work_dir}/${arch}/root-image/isorepo ${work_dir}/../isorepo-${arch}
- mkdir ${work_dir}/${arch}/root-image/isorepo
fi
- # create 'isorepo'
- pushd ${work_dir}/${arch}/root-image/isorepo > /dev/null
- setarch ${arch} repo-add --new isorepo.db.tar.gz ./*
- popd > /dev/null
# refresh pacman keyring in chroot
arch-chroot ${work_dir}/${arch}/root-image pacman-key --init && \