Skip to content
rofl0r edited this page Nov 5, 2013 · 5 revisions

automatic update:

when the sabotage upstream repo (this one here) was updated, you can simply overwrite KEEP/ and pkg/ in your /src with the contents of the git repo (utils/update-chroot may be used to automate that)

then simply:

butch rebuild musl

or alternatively

butch rebuild musl-git

that'll give you the latest musl from git. since git is not 100% stable you could encounter a build error - and with that a missing libc.so - do not worry though, you can just rebuild the normal musl package, since all core packages including gcc are statically linked.

manual update:

do your ./configure and make as usual, but as the last step:

make DESTDIR=/opt/musl install

if you've previously built musl-git, do a butch relink musl afterwards so the symlinks point to the right dir.