Turning a simple chroot into a binpkg repository

OK, since Alex asked me last Sunday what exactly needs to be done to turn a simple chroot (or even a bloody box) into a binpkg producing environment, here’s a little howto … First, lets start from a freshly unpacked stage3. 1 2 3 4 5 catalyst/x86 stage3-amd64-hardened # chroot . /bin/bash --login # Now, make sure you turn on FEATURES=buildpkg # (and setup anything else you need, like CFLAGS, # LDFLAGS, whatever) linux # echo 'FEATURES="buildpkg"' >> /etc/make.conf With that single change you’re basically nearly finished with setting up the whole thing, the remaining things are just ...

August 16, 2014 · 10 min · 1991 words · christian

Advanced bashrc ('Turning a simple chroot into a binpkg repository' continued)

As I pointed out back in October, it’s rather easy to create a setup which syncs a built binary package to a remote node (which is serving them to the world - via http,rsync,ftp - pick your poison). Now, ever since we had slight space problems on miranda ( 🤕 my binpkgs 🤕), I wanted to look into methods on how to get rid of storing them on the buildnode and the webnode. I think now (hehe, it’s only 7pm), I finally managed to get a " proper" bashrc which does a lot of that foo. Take a look at this: ...

August 8, 2014 · 4 min · 784 words · christian