archiso-bcachefs/in_docker.sh

23 lines
408 B
Bash
Raw Normal View History

2020-03-01 22:01:20 +01:00
#!/bin/sh
# install the basics
pacman --noconfirm -Syu
pacman --noconfirm -S archiso sudo git base-devel bash
# add a user for makepkg
useradd -m archiso
# make him sudoer
cat >> /etc/sudoers <<EOF
archiso ALL=(ALL) NOPASSWD: ALL
EOF
# fix sudo: setrlimit(RLIMIT_CORE): Operation not permitted
echo "Set disable_coredump false" > /etc/sudo.conf
# make the bacon
2020-03-09 21:55:50 +01:00
su archiso
2020-03-01 22:01:20 +01:00
cd /archiso
bash make_iso.sh