Last time I worked on Alpine (4 years ago) I used LXC for building/testing
against given release versions or edge. Seems LXC has deprecated all
the things that made it great, so I came over the buildlab script
in the abuild repo and thought it would be a simple solution for my
needs.
A few minutes later I had a non-working empty chroot directory without a
rootfs due to missing signing keys. To my amasement all
my important virtual filesystems on the host had been umounted as
well...
This series of patches makes buildlab (barely) work for building packages
against edge from a 3.9 host without hosing your system.
Maybe the script should be dropped altogether if noone has used it. If
not, I might send future patches to improve the workflow somewhat
and fix the non-working cache copying/setup.
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
On 5/6/19 5:47 PM, Eivind Uggedal wrote:
> Last time I worked on Alpine (4 years ago) I used LXC for building/testing> against given release versions or edge. Seems LXC has deprecated all> the things that made it great, so I came over the buildlab script> in the abuild repo and thought it would be a simple solution for my> needs.> > A few minutes later I had a non-working empty chroot directory without a> rootfs due to missing signing keys. To my amasement all> my important virtual filesystems on the host had been umounted as> well...> > This series of patches makes buildlab (barely) work for building packages> against edge from a 3.9 host without hosing your system.> > Maybe the script should be dropped altogether if noone has used it. If> not, I might send future patches to improve the workflow somewhat> and fix the non-working cache copying/setup.
Looks good to me on first glance.
I'll try and take some time to test if it works on my edge-based builder
sometime this week.
You might need to wait some time for adoption, since 3.10 is coming up
and everyone is busy with that.
That said, it would be very nice if you got chroot-based builds working
well :)
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---
On Mon, 6 May 2019 21:47:43 +0000
Eivind Uggedal <eu@eju.no> wrote:
> Last time I worked on Alpine (4 years ago) I used LXC for building/testing> against given release versions or edge. Seems LXC has deprecated all> the things that made it great, so I came over the buildlab script> in the abuild repo and thought it would be a simple solution for my> needs.
Have you seen abuild-rootbld?
It will set up a lightweight container using bubblewrap and do the
build in there.
apk add abuild-rootbld
abuild rootbld
It will also work if you check out 3.*-stable.
-nc
---
Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org
Help: alpine-devel+help@lists.alpinelinux.org
---