Skip to content
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

Closed
alkazar opened this issue Jan 11, 2020 · 2 comments
Closed

use github actions to build system images #63

alkazar opened this issue Jan 11, 2020 · 2 comments

Comments

@alkazar
Copy link
Member

alkazar commented Jan 11, 2020

No description provided.

@tommy4st
Copy link
Contributor

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

@alkazar alkazar added this to To do in GamerOS Mar 4, 2020
@alkazar
Copy link
Member Author

alkazar commented Mar 21, 2020

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.

@alkazar alkazar moved this from To do to Backlog in GamerOS Mar 27, 2020
@alkazar alkazar moved this from Backlog to To do in GamerOS Apr 15, 2020
@alkazar alkazar moved this from To do to In progress in GamerOS Apr 18, 2020
@alkazar alkazar moved this from In progress to Done in GamerOS May 3, 2020
@alkazar alkazar moved this from Done to In Testing in GamerOS May 3, 2020
@alkazar alkazar moved this from In Testing to Done in GamerOS May 22, 2020
@alkazar alkazar moved this from Done to Released (GamerOS 18) in GamerOS May 29, 2020
@alkazar alkazar closed this as completed May 31, 2020
GamerOS automation moved this from Released (GamerOS 18) to Done May 31, 2020
@alkazar alkazar moved this from Done to Released (GamerOS 18) in GamerOS May 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants