Skip to content

Commit 3850897

Browse files
committed
Round of minor updates
1 parent 8e1413d commit 3850897

3 files changed

Lines changed: 32 additions & 15 deletions

File tree

builder.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
set -x
3+
INRELEASE="$RELEASE"
24
RELEASE=${RELEASE:-dev}
35
IMAGE_NAME="groovy-ux-os-${RELEASE}"
46

@@ -12,4 +14,4 @@ echo "+++++++++++++++++++++++++++++"
1214
echo "+++ Running container +++"
1315
echo "+++++++++++++++++++++++++++++"
1416
#docker run --privileged --tty --name "$IMAGE_NAME" --rm -v "$(pwd)/work/output":/work/output -v "$(pwd)/work/fakeroot":/work/fakeroot "$IMAGE_NAME"
15-
docker run --privileged --tty --name "$IMAGE_NAME" --rm -v "$(pwd)/work/output":/work/output "$IMAGE_NAME"
17+
docker run --privileged --tty --name "$IMAGE_NAME" -e RELEASE="$INRELEASE" --rm -v "$(pwd)/work/output":/work/output "$IMAGE_NAME"

groovyarcade/airootfs/etc/mkinitcpio.conf

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,39 +28,53 @@ FILES=(/usr/lib/firmware/edid/arcade_15_25_31.bin /usr/lib/firmware/edid/arcade_
2828
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
2929
# Examples:
3030
## This setup specifies all modules in the MODULES setting above.
31-
## No raid, lvm2, or encrypted root is needed.
31+
## No RAID, lvm2, or encrypted root is needed.
3232
# HOOKS=(base)
3333
#
3434
## This setup will autodetect all modules for your system and should
3535
## work as a sane default
36-
# HOOKS=(base udev autodetect block filesystems)
36+
# HOOKS=(base udev autodetect modconf block filesystems fsck)
3737
#
3838
## This setup will generate a 'full' image which supports most systems.
3939
## No autodetection is done.
40-
# HOOKS=(base udev block filesystems)
40+
# HOOKS=(base udev modconf block filesystems fsck)
4141
#
42-
## This setup assembles a pata mdadm array with an encrypted root FS.
43-
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
44-
# HOOKS=(base udev block mdadm encrypt filesystems)
42+
## This setup assembles a mdadm array with an encrypted root file system.
43+
## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
44+
# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
4545
#
46-
## This setup loads an lvm2 volume group on a usb device.
47-
# HOOKS=(base udev block lvm2 filesystems)
46+
## This setup loads an lvm2 volume group.
47+
# HOOKS=(base udev modconf block lvm2 filesystems fsck)
48+
#
49+
## This will create a systemd based initramfs which loads an encrypted root filesystem.
50+
# HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
4851
#
4952
## NOTE: If you have /usr on a separate partition, you MUST include the
50-
# usr, fsck and shutdown hooks.
53+
# usr and fsck hooks.
5154
HOOKS=(base udev modconf memdisk archiso archiso_loop_mnt kms block filesystems keyboard plymouth)
5255

5356
# COMPRESSION
54-
# Use this to compress the initramfs image. By default, gzip compression
55-
# is used. Use 'cat' to create an uncompressed image.
57+
# Use this to compress the initramfs image. By default, zstd compression
58+
# is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
59+
# Use 'cat' to create an uncompressed image.
60+
#COMPRESSION="zstd"
5661
#COMPRESSION="gzip"
5762
#COMPRESSION="bzip2"
5863
#COMPRESSION="lzma"
5964
#COMPRESSION="xz"
6065
#COMPRESSION="lzop"
6166
#COMPRESSION="lz4"
62-
COMPRESSION="zstd"
6367

6468
# COMPRESSION_OPTIONS
6569
# Additional options for the compressor
6670
#COMPRESSION_OPTIONS=()
71+
72+
# MODULES_DECOMPRESS
73+
# Decompress loadable kernel modules and their firmware during initramfs
74+
# creation. Switch (yes/no).
75+
# Enable to allow further decreasing image size when using high compression
76+
# (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
77+
# at early boot.
78+
# Note that any compressed files will be placed in the uncompressed early CPIO
79+
# to avoid double compression.
80+
#MODULES_DECOMPRESS="no"

settings

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#!/bin/bash
2-
32
# GROOVYARCADE details
43
export GA_VERSION=testing
5-
if [[ ! -z ${CI_COMMIT_TAG} ]] ; then
4+
if [[ ! -z "$RELEASE" ]] ; then
5+
GA_VERSION="$RELEASE"
6+
elif [[ ! -z ${CI_COMMIT_TAG} ]] ; then
67
GA_VERSION=${CI_COMMIT_TAG}
78
elif [[ ! -z ${CI_COMMIT_REF_SLUG} && ${CI_COMMIT_REF_SLUG} != "master" ]] ; then
89
GA_VERSION=${CI_COMMIT_REF_SLUG}

0 commit comments

Comments
 (0)