Hey folks,

I have received some interest over the previous weeks for something
like this, so i wanted to share it here for other people to find if
they have interest.

This is a no-frills script that one can use on a freshly downloaded
Hurd image and get a basic Dev environment quickly.

It downloads all the needed dependencies via apt.
It clones mig, Hurd and Gnumach.
It configs and builds them all in the right order.
It alters the path to include Mig.
It tells you to source your ~/.bashrc
That'.s it!

If the script doesn't fail somehow...one has a minimal usable Dev
environment and can start hacking straight away.
I used this many times on a new image and it hasn't failed me yet

The default path are defined at the top:
WORKDIR="$HOME/dev/hurd/upstream"
GNU_PREFIX="$HOME/gnu"
These can be changed, if one wants.

invoke with
bash bootstrap.sh


wait a bit for everything to get downloaded, compiled, and start hacking :)

Good luck!

Milos

Attachment: bootstrap.sh
Description: application/shellscript

Reply via email to