diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2017-12-22 10:45:41 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2018-01-01 00:53:38 -0500 |
commit | f119f660183875f5e525d263db91347e7a55e45f (patch) | |
tree | 891090be3c7f2b4ec7a6d9c0018815e42f639eda /configs/profile/build.sh | |
parent | 87cdd9cdf061447f185a340262ea2e988d85028e (diff) |
squashme - revert empty isorepo
Diffstat (limited to 'configs/profile/build.sh')
-rwxr-xr-x | configs/profile/build.sh | 9 |
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 && \ |