$ROOTCMD usermod -a -G $g user2
done
+
+# on server, we don't use btrfs, don't need a new kernel afaik.
+if [[ $HOSTNAME == li ]]; then
+ exit 0
+fi
+
## begin get new kernel and btrfs-progs ##
case $HOSTNAME in
sy|so)
*)
if ! $ROOTCMD dpkg -s -- freesh-archive-keyring 2>&1 | grep -Fx "Status: install ok installed" &>/dev/null; then
apt-get -y install wget
- wget -O /target/tmp/x.deb https://linux-libre.fsfla.org/pub/linux-libre/freesh/pool/main/f/freesh-archive-keyring/freesh-archive-keyring_1.1_all.deb
+ wget -O $target/tmp/x.deb https://linux-libre.fsfla.org/pub/linux-libre/freesh/pool/main/f/freesh-archive-keyring/freesh-archive-keyring_1.1_all.deb
$ROOTCMD dpkg -i /tmp/x.deb
$ROOTCMD apt-get update
$ROOTCMD apt-get -y install linux-libre
else
$ROOTCMD apt-get -y build-dep btrfs-progs
fi
- # no docs cuz I didn't want to bother fixing error of missing docs dependencies
+ # note: docs requirements are installed when we have a full distro, so
+ # at some point, fix the build for early distro.
$ROOTCMD bash -xe <<EOF
cd /tmp/${tarball%.tar.gz}
-./configure --disable-documentation
+./configure
make
make install
EOF