make_rootfs.sh: Image for a real geek
Ubuntu 18.04.2 with dwm, surf web browser, stterm and vim. A truly geek look and feel. Inspired by a conversation with Vladimir Ivanov and Lazar Hristov during the last weekend. Suggested-by: Vladimir Ivanov <vladitx@nucleusys.com>, Lazar Hristov <lhristov@gmail.com> Signed-off-by: Leon Anavi <leon@anavi.org>
This commit is contained in:
parent
33819e3d92
commit
e06c551982
@ -77,7 +77,7 @@ case $DISTRO in
|
|||||||
xenial)
|
xenial)
|
||||||
ROOTFS="http://cdimage.ubuntu.com/ubuntu-base/releases/16.04.2/release/ubuntu-base-16.04.2-base-arm64.tar.gz"
|
ROOTFS="http://cdimage.ubuntu.com/ubuntu-base/releases/16.04.2/release/ubuntu-base-16.04.2-base-arm64.tar.gz"
|
||||||
;;
|
;;
|
||||||
bionic|kde)
|
bionic|kde|geek)
|
||||||
ROOTFS="http://cdimage.ubuntu.com/ubuntu-base/releases/18.04.2/release/ubuntu-base-18.04-base-arm64.tar.gz"
|
ROOTFS="http://cdimage.ubuntu.com/ubuntu-base/releases/18.04.2/release/ubuntu-base-18.04-base-arm64.tar.gz"
|
||||||
;;
|
;;
|
||||||
sid|jessie)
|
sid|jessie)
|
||||||
@ -239,7 +239,7 @@ EOF
|
|||||||
add_ubuntu_apt_sources() {
|
add_ubuntu_apt_sources() {
|
||||||
local release="$1"
|
local release="$1"
|
||||||
# Use Ubuntu 18.04 bionic repositories for KDE image
|
# Use Ubuntu 18.04 bionic repositories for KDE image
|
||||||
if [ "$release" = "kde" ]; then
|
if [ "$release" = "kde" -o "$release" = "geek" ]; then
|
||||||
release="bionic"
|
release="bionic"
|
||||||
fi
|
fi
|
||||||
cat > "$DEST/etc/apt/sources.list" <<EOF
|
cat > "$DEST/etc/apt/sources.list" <<EOF
|
||||||
@ -289,10 +289,10 @@ EOF
|
|||||||
rm -f "$DEST/etc/resolv.conf"
|
rm -f "$DEST/etc/resolv.conf"
|
||||||
mv "$DEST/etc/resolv.conf.dist" "$DEST/etc/resolv.conf"
|
mv "$DEST/etc/resolv.conf.dist" "$DEST/etc/resolv.conf"
|
||||||
;;
|
;;
|
||||||
xenial|bionic|sid|jessie|kde)
|
xenial|bionic|sid|jessie|kde|geek)
|
||||||
rm "$DEST/etc/resolv.conf"
|
rm "$DEST/etc/resolv.conf"
|
||||||
cp /etc/resolv.conf "$DEST/etc/resolv.conf"
|
cp /etc/resolv.conf "$DEST/etc/resolv.conf"
|
||||||
if [ "$DISTRO" = "xenial" -o "$DISTRO" = "bionic" -o "$DISTRO" = "kde" ]; then
|
if [ "$DISTRO" = "xenial" -o "$DISTRO" = "bionic" -o "$DISTRO" = "kde" -o "$DISTRO" = "geek" ]; then
|
||||||
DEB=ubuntu
|
DEB=ubuntu
|
||||||
DEBUSER=olimex
|
DEBUSER=olimex
|
||||||
DEBUSERPW=olimex
|
DEBUSERPW=olimex
|
||||||
@ -314,6 +314,16 @@ EOF
|
|||||||
if [ "$DISTRO" = "kde" ]; then
|
if [ "$DISTRO" = "kde" ]; then
|
||||||
# Additional KDE packages
|
# Additional KDE packages
|
||||||
EXTRADEBS+=" kde-plasma-desktop "
|
EXTRADEBS+=" kde-plasma-desktop "
|
||||||
|
elif [ "$DISTRO" = "geek" ]; then
|
||||||
|
# Packages for a geek look & feel :)
|
||||||
|
EXTRADEBS+="\
|
||||||
|
xorg \
|
||||||
|
xdm \
|
||||||
|
dwm \
|
||||||
|
surf \
|
||||||
|
stterm \
|
||||||
|
vim \
|
||||||
|
"
|
||||||
fi
|
fi
|
||||||
elif [ "$DISTRO" = "sid" -o "$DISTRO" = "jessie" ]; then
|
elif [ "$DISTRO" = "sid" -o "$DISTRO" = "jessie" ]; then
|
||||||
DEB=debian
|
DEB=debian
|
||||||
|
Loading…
Reference in New Issue
Block a user