Setting up Alpine in a chroot

From Alpine Linux
Revision as of 07:50, 30 May 2011 by Michaelz (talk | contribs) (Created page with "To set up in <pre>$PWD/root</pre>: ARCH=x86 wget ''`wget -o /dev/null -O - '")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To set up in



wget ''`wget -o /dev/null -O - ''$ARCH'&name_1_op=%3D&name_1=&name_2_op=%3D&name_2=' | fgrep 'views-field views-field-apk-version' -A1 | tail -n1 | cut -d'<' -f1 | sed 's/ //g'`'.apk'
tar zxvf apk-tools-static-*.apk
mkdir ./root
./sbin/apk.static --initdb -U --initdb --root root --arch $ARCH --repository --repository add alpine-base
chroot ./root sh -l