Skip to content

Commit 9ded218

Browse files
Cleanup workflow and build script
1 parent 647c3e2 commit 9ded218

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

.github/workflows/build-images.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020

2121
build-image-gnome:
2222
needs: build-image-main
23-
uses: ./.github/workflows/build-gnome.yml
23+
uses: ./.github/workflows/build-main.yml
2424
secrets: inherit
2525
with:
2626
desktop: gnome
2727
edition: main
2828

2929
build-image-kde:
3030
needs: build-image-gnome
31-
uses: ./.github/workflows/build-kde.yml
31+
uses: ./.github/workflows/build-main.yml
3232
secrets: inherit
3333
with:
3434
desktop: kde

build_files/build.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ case "$1" in
6464
"cosmic")
6565
DE_NAME="main"
6666
# Using latest (nightly) Cosmic desktop until stable release
67-
dnf5 remove -y @cosmic-desktop @cosmic-desktop-apps --exclude=gnome-disk-utility,flatpak
6867
dnf5 copr enable -y ryanabx/cosmic-epoch
6968
dnf5 install -y cosmic-desktop --exclude=okular,rhythmbox,thunderbird,nheko,ark,gnome-calculator
7069
dnf5 copr remove -y ryanabx/cosmic-epoch
@@ -329,9 +328,3 @@ find /var/* -maxdepth 0 -type d \! -name cache -exec rm -fr {} \;
329328
find /var/cache/* -maxdepth 0 -type d \! -name libdnf5 \! -name rpm-ostree -exec rm -fr {} \;
330329
mkdir -p /var/tmp
331330
chmod -R 1777 /var/tmp
332-
333-
# Initramfs
334-
KERNEL_VERSION="$(find "/usr/lib/modules" -maxdepth 1 -type d ! -path "/usr/lib/modules" -exec basename '{}' ';' | sort | tail -n 1)"
335-
export DRACUT_NO_XATTR=1
336-
dracut --no-hostonly --kver "$KERNEL_VERSION" --reproducible --zstd -v --add ostree -f "/usr/lib/modules/$KERNEL_VERSION/initramfs.img"
337-
chmod 0600 "/usr/lib/modules/${KERNEL_VERSION}/initramfs.img"

0 commit comments

Comments
 (0)