iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor fixes
[automated-distro-installer]
/
README
diff --git
a/README
b/README
index f77aa11235945efd4c4c26610eaf1f2eee41c17e..32cd82954b4c117562c599ef5ca0573ee6eb58dc 100644
(file)
--- a/
README
+++ b/
README
@@
-106,28
+106,28
@@
reboot
# dirinstall
host=kw
# dirinstall
host=kw
-distro=
flidas
+distro=
trisquel
t=/tmp/d
t=/tmp/d
-# be root:
+myfai-chboot default
sudo sed -i 's/^LOGUSER=/#LOGUSER=/' /etc/fai/fai.conf
sudo sed -i 's/^LOGUSER=/#LOGUSER=/' /etc/fai/fai.conf
-#
required after a failed run
-
umount /var/lib/fai/config
||:
+#
config umount required after a failed run, proc umount always required
+
sudo umount /var/lib/fai/config ||: ; sudo umount -R $t/proc
||:
fai-redep faiserver $distro
fai-redep faiserver $distro
-
rm -rf $t ; mkdir $t;
fai -N -u $host dirinstall $t
+
sudo rm -rf $t ; mkdir $t; time sudo LANG=
fai -N -u $host dirinstall $t
# cleanup:
sudo sed -i 's/^#LOGUSER=/LOGUSER=/' /etc/fai/fai.conf
# cleanup:
sudo sed -i 's/^#LOGUSER=/LOGUSER=/' /etc/fai/fai.conf
-s umount -R $t/proc
+s
udo
umount -R $t/proc
# Turning a dirinstall into a basefile. taken from mk-basefile
# Turning a dirinstall into a basefile. taken from mk-basefile
-chroot $t apt-get clean
-rm -f $t/etc/hostname $t/etc/resolv.conf \
+
sudo
chroot $t apt-get clean
+
sudo
rm -f $t/etc/hostname $t/etc/resolv.conf \
$t/var/lib/apt/lists/*_* $t/usr/bin/qemu-*-static \
$t/etc/udev/rules.d/70-persistent-net.rules
$t/var/lib/apt/lists/*_* $t/usr/bin/qemu-*-static \
$t/etc/udev/rules.d/70-persistent-net.rules
-
>
$t/etc/machine-id
-tar --one-file-system -C $t -cf - . | gzip > /a/bin/fai-basefiles/basefiles/FLIDAS64X.tar.gz
+
echo | sudo dd of=
$t/etc/machine-id
+
sudo
tar --one-file-system -C $t -cf - . | gzip > /a/bin/fai-basefiles/basefiles/FLIDAS64X.tar.gz
License stuff:
The license for the project is GPLv2 or later, mostly because fai is and
License stuff:
The license for the project is GPLv2 or later, mostly because fai is and