diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-01-28 21:39:15 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-01-28 21:39:15 +0100 |
commit | eeefbe0d6b4f602b6e70d093b287aed8b5e9501f (patch) | |
tree | 1eb850e38e4c53da4f161275085c52fd60c40145 /prepare_stage1_repo.sh | |
parent | 7478bb7a8eaefdd53e26372810d8580b8509b0c7 (diff) | |
download | bootstrap32-eeefbe0d6b4f602b6e70d093b287aed8b5e9501f.tar.xz |
some more packages, readline fails, no clue
Diffstat (limited to 'prepare_stage1_repo.sh')
-rwxr-xr-x | prepare_stage1_repo.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/prepare_stage1_repo.sh b/prepare_stage1_repo.sh index d7df4e2..1596b74 100755 --- a/prepare_stage1_repo.sh +++ b/prepare_stage1_repo.sh @@ -23,6 +23,9 @@ if test ! -d $STAGE1_CHROOT; then # into the chroot cp /etc/pacman.conf $STAGE1_CHROOT/etc/. + + sed -i '/\[archlinuxfr\]/,// d' $STAGE1_CHROOT/etc/pacman.conf + sed -i '/\[multilib\]/,// d' $STAGE1_CHROOT/etc/pacman.conf sed -i 's@^Architecture.*@Architecture = i486@g' $STAGE1_CHROOT/etc/pacman.conf @@ -81,7 +84,7 @@ if test ! -d $STAGE1_BUILD; then sed -i "s@^CHOST=.*@CHOST=\"${TARGET_ARCH}\"@" makepkg-i486.conf CPUS=$(nproc) sed -i "s@^#MAKEFLAGS=.*@MAKEFLAGS=\"-j$CPUS\"@" makepkg-i486.conf - sed -i "s@-march=x86-64 -mtune=generic @-march=i486 @" makepkg-i486.conf + sed -i "s@-march=x86-64 -mtune=generic @@" makepkg-i486.conf echo "Prepared the stage 1 build environment." fi |