diff options
-rw-r--r-- | README | 15 | ||||
-rwxr-xr-x | archauto.sh | 2 |
2 files changed, 6 insertions, 11 deletions
@@ -52,11 +52,6 @@ rm -rf INSTALL mkdir INSTALL cd INSTALL -yaourt -G joe -chown -R build:users joe -cd joe -cd .. - yaourt -G cfengine chown -R build:users cfengine cd cfengine @@ -65,13 +60,13 @@ cd .. cd .. -Put them into a local repository 'aba': +Put them into a local repository 'myrepo': -rm -rf aba/os/x86_64/ -mkdir -p aba/os/x86_64/ -cp INSTALL/*/*pkg.tar.xz aba/os/x86_64/. +rm -rf myrepo +mkdir -p myrepo/os/x86_64/ +cp INSTALL/*/*pkg.tar.xz myrepo/os/x86_64/. -repo-add aba/os/x86_64/aba.db.tar.gz aba/os/x86_64/* +repo-add myrepo/os/x86_64/myrepo.db.tar.gz myrepo/os/x86_64/* Install Archlinux ----------------- diff --git a/archauto.sh b/archauto.sh index 613c06e..9feca5e 100755 --- a/archauto.sh +++ b/archauto.sh @@ -60,7 +60,7 @@ sed -i '/\[extra\]/aServer = http://10.0.2.2:8080/$repo/os/$arch' ${MOUNT_PATH}/ sed -i '/\[community\]/aServer = http://10.0.2.2:8080/$repo/os/$arch' ${MOUNT_PATH}/etc/pacman.conf # add our local packages into a separate repository -printf "\n[aba]\nServer = http://10.0.2.2:8080/\044repo/os/\044arch\n" >> ${MOUNT_PATH}/etc/pacman.conf +printf "\n[myrepo]\nServer = http://10.0.2.2:8080/\044repo/os/\044arch\n" >> ${MOUNT_PATH}/etc/pacman.conf # synchronize package databases for installed pacman arch-chroot ${MOUNT_PATH} pacman -Sy |