From fcd40fbccc4e5c69dc0f934b60bc3af01c68c540 Mon Sep 17 00:00:00 2001 From: r00t Date: Sat, 20 Dec 2014 02:33:21 -0500 Subject: [PATCH] fixing chroot building bug whoops. mistyped package names shuffling stuff.. --- README | 2 ++ extra/packages.both | 4 ++-- extra/pre-build.d/root/.ssh/authorized_keys | 10 ++++++++++ lib/mk.chroot.sh | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 extra/pre-build.d/root/.ssh/authorized_keys diff --git a/README b/README index 20b94b8..b3f1c10 100644 --- a/README +++ b/README @@ -34,6 +34,8 @@ but also disk space for working, the finished ISO(s), etc.) (NOTE: future versions will have dependencies checked automatically and installed if necessary, depending on distro your host build machine is. the OS detection and package installation component of that isn't done yet though. 2014.10.31) +(NOTE2: Make sure all the packages you specify are valid package names. A mistyped package name will cause the chroot creation to +break and everything else will break as a result.) curl dosfstools diff --git a/extra/packages.both b/extra/packages.both index 90c4ed8..69e5996 100644 --- a/extra/packages.both +++ b/extra/packages.both @@ -70,7 +70,7 @@ dumpet duplicity dvd+rw-tools e2fsprogs -encryptfs-utils +ecryptfs-utils ed efibootmgr efivar @@ -84,7 +84,7 @@ ext3grep extundelete f2fs-tools fang -fbest +fbset fcgi fcgiwrap fcrackzip diff --git a/extra/pre-build.d/root/.ssh/authorized_keys b/extra/pre-build.d/root/.ssh/authorized_keys new file mode 100644 index 0000000..8a4990b --- /dev/null +++ b/extra/pre-build.d/root/.ssh/authorized_keys @@ -0,0 +1,10 @@ +ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC5+2R7ykAgF/IBOY0gvxWZpLzk+CpmjiCBFtQX2WN54qPYOluPgFudUEZ/zax0wccZG9qXm8fM7Jc11GqFVkxWU7sNEAIirmsE54nnXeIg7BEyamJ6l0FHkqgVV+GCWffe1cJtniIu99kz3KwgcPto4zgqcxE/RH8eSAPAX7SECAZxs3CMfPbOY7DcyUgKXaPynDvebp1Dp9q6lSrW1FBfPJOYzFdO4xGQV9V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bXesBPVA7OOeWL/pq43q55wwiVzV9A9JDI4wScwshyHrfwkaQJoLv9mRUuYfIghUbyi50B2cVAzna2TDjNFxk33V1PIFmWLoxlJHzrB36w9VoRL5geVeUmTvv+LOiKeOJ+LlWP+H6tu4hygdwpS+ktJ7I+RKOKD0KlqqQHeMGDIeXiXRFLoayp1jx4LnzEmaIKxPmwTdvytrNE9Ejr+SzCgNOaWZVA2CmYF/hvlrAsdZC3v8Gv6D18Au2gWIQUA1UAKe40xMtLNlOip9lE1x+Le4gkDTuGRr8pjv45ewzZnNoP6AymXToXlhvCSMDPMja/u/DEz0p7G28JnbLnGUZDX1xrrQLhZ8OtnwBZEoCeDxLsEmTWv/KVTrf/Sels2cCXT9n3xSSwNjTijeMuQ5afyQO2+XXEwxMbpQKAH/KoBt2Da1xRpq0CSsjYtCkddKdksipgwLVVXwFzib/IzxhNMdguMxLgz1bX1c9pzFJI6gA0CdwJrWqfq0SKzZZQJOBDrmhNJEUQcDT+QYBso+8CdcIZh5ew== root@g.rainwreck.com diff --git a/lib/mk.chroot.sh b/lib/mk.chroot.sh index cea914a..4097523 100755 --- a/lib/mk.chroot.sh +++ b/lib/mk.chroot.sh @@ -173,7 +173,7 @@ EOF ${CHROOTCMD} ${i}/ pacman -Syy >> "${LOGFILE}.${FUNCNAME}" 2>&1 for x in $(find ${i}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%%.pacorig} ; done - ${CHROOTCMD} ${i}/ pacman -S --noconfirm --needed base >> "${LOGFILE}.${FUNCNAME}" 2>&1 + ${CHROOTCMD} ${i}/ pacman -S --noconfirm --needed base syslinux >> "${LOGFILE}.${FUNCNAME}" 2>&1 for x in $(find ${i}/etc/ -type f -iname "*.pacorig");do mv -f ${x} ${x%%.pacorig} ; done echo "Done." echo -n "...Upgrading any outdated packages..."