diff options
author | Zach van Rijn <me@zv.io> | 2022-12-10 11:32:48 -0600 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-12-10 13:45:42 -0600 |
commit | e6db002716c0c46fd73ebc258ada23edbf5c7d12 (patch) | |
tree | d991697f179e07eaab1c8fdc2dad8f18efbe0111 /setup-packages | |
download | bootstrap-e6db002716c0c46fd73ebc258ada23edbf5c7d12.tar.gz bootstrap-e6db002716c0c46fd73ebc258ada23edbf5c7d12.tar.bz2 bootstrap-e6db002716c0c46fd73ebc258ada23edbf5c7d12.tar.xz bootstrap-e6db002716c0c46fd73ebc258ada23edbf5c7d12.zip |
Initial proof of concept.
Currently, if you run this on a Linux box as an unprivileged user:
$ ./bootstrap armv7 /some/scratch/directory
you will end up with, completely from source:
rootfs-armv7l-adelie-linux-musleabihf-preimage.tgz
which is an armv7-native rootfs with all the tools that you need
to build our distribution. (Substitute your favorite target).
Work that remains to be done involves fixing "bootstrap.sh" in the
packages.git repository, then plumbing that back into this project
so that the complete process can be automated.
Diffstat (limited to 'setup-packages')
-rwxr-xr-x | setup-packages | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/setup-packages b/setup-packages new file mode 100755 index 0000000..ea449dc --- /dev/null +++ b/setup-packages @@ -0,0 +1,13 @@ +#!/bin/sh -e + +d=$(mktemp -d); +cd "${d}"; +pwd; + +git clone https://git.adelielinux.org/adelie/packages.git; +cd packages; +git checkout 198e0130d845f7466c09a61f3829905d95313c06; + +# FIXME: this script needs a lot of work +#./scripts/bootstrap.sh ${TARGET_ARCH}; +bash |