-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use github actions to build system images #63
Comments
I tried to setup a build in Docker, but this failed because of the loop mount. When using ostree, you probably don't need to loop mount anymore and it will possibly work. I tried to set up a Docker container based on the Arch image, where all dependencies are installed. (It's a little bit difficult because makepkg won't run as root) export BASE="$PWD"
pacman -Suy --noconfirm
pacman -S --needed --noconfirm base-devel git btrfs-progs arch-install-scripts
cd /tmp
useradd -m someone
echo "someone ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
sudo -u someone git clone https://aur.archlinux.org/pikaur.git
cd pikaur
sudo -u someone makepkg -fsri --noconfirm
cd $BASE |
I think it should be possible to do this by doing the mount on the host system and doing the rest of the build in the docker container. |
No description provided.
The text was updated successfully, but these errors were encountered: