platforms: added diskimg variant raspberrypi-plasma

This commit is contained in:
Silvan Calarco 2021-04-24 14:13:52 +02:00
parent f283cb4109
commit 11e88789b7
4 changed files with 9 additions and 2 deletions

View File

@ -6,3 +6,4 @@ $(MAKEDIST_TARGET)-diskimg-bananapi:
$(MAKEDIST_TARGET)-diskimg-cubox:
$(MAKEDIST_TARGET)-diskimg-livecd:
$(MAKEDIST_TARGET)-diskimg-raspberrypi:
$(MAKEDIST_TARGET)-diskimg-raspberrypi-plasma:

View File

@ -1,6 +1,6 @@
[ "$RELEASE" -a "$RELEASE" != "devel" ] && RELEASE_ADD="-$RELEASE" || RELEASE_ADD=
if [ "$MODE" = "rootfsinstall" ]; then
DISKIMG_FILE="$LOCALSTATEDIR/openmamba-rootfs-light${RELEASE_ADD}-$LANGUAGE.$DEVICEARCH.tar.xz"
DISKIMG_FILE="$LOCALSTATEDIR/${BASE_IMAGE}${RELEASE_ADD}-$LANGUAGE.$DEVICEARCH.tar.xz"
echo "Using image $DISKIMG_FILE..."
/usr/sbin/rootfsinstall -y $ROOTFSINSTALL_ADD $LOOPDEV $DISKIMG_FILE || \
{ retcode=$?

View File

@ -5,6 +5,7 @@ case $VARIANT in
cubox) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-cubox"; MEDIA_SIZE=4192 ;;
livecd) MODE=usbinstall; ROOTFSINSTALL_ADD= ;;
raspberrypi)
BASE_IMAGE="openmamba-rootfs-light"
MODE=rootfsinstall
if [ "$ARCH" == "aarch64" ]; then
ROOTFSINSTALL_ADD="-rpi64"
@ -12,5 +13,10 @@ case $VARIANT in
ROOTFSINSTALL_ADD="-rpi"
fi
MEDIA_SIZE=6144 ;;
raspberrypi-plasma)
BASE_IMAGE="openmamba-rootfs"
MODE=rootfsinstall
ROOTFSINSTALL_ADD="-rpi64"
MEDIA_SIZE=6912 ;;
*) MODE=rootfsinstall; ROOTFSINSTALL_ADD= ;;
esac

View File

@ -11,7 +11,7 @@ $(MAKEDIST_TARGET)-$(PLATFORM)-x86_64: \
kernel-mamba-x86_64 firefox sddm
$(MAKEDIST_TARGET)-$(PLATFORM): $(MAKEDIST_TARGET)-devel \
lxqt-session openbox lxqt-archiver lximage-qt \
lxqt-session openbox lxqt-archiver lximage-qt blueman \
openssh-server usbutils wireless_tools screen \
parted iputils file rootfiles ppp minicom locales mc \
man-db curl zip unzip iptables iproute wpa_supplicant nfs-utils \