Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: dev
on:
push:
branches:
- main
paths-ignore:
- "**/README.md"
- "docs/**"
Expand Down Expand Up @@ -28,7 +30,7 @@ jobs:
with:
version: ${{ needs.set_version.outputs.VERSION }}
# to set target to "release" or "nightly" we need proper KMS secrets
# have a look at gardenlinux/.github/workflows/github.mjs
# have a look at gardenlinux/.github/workflows/github.mjs
target: dev
fail_fast: true
platform_test_build: false
Expand Down
1 change: 1 addition & 0 deletions build.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tempfs_size=4G
4 changes: 1 addition & 3 deletions features/_pxe/image.pxe.tar.gz
Comment thread
anokfireball marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ echo "console=ttyS0 gl.live=1 gl.ovl=/:tmpfs" > cmdline
touch tmp_initrd
[[ ! -e "$chroot_dir/initrd" ]]
touch "$chroot_dir/initrd"
mount --bind tmp_initrd "$chroot_dir/initrd"
[[ ! -e "$chroot_dir/root.squashfs" ]]
touch "$chroot_dir/root.squashfs"
mount --bind root.squashfs "$chroot_dir/root.squashfs"
Expand All @@ -50,8 +49,7 @@ chroot "$chroot_dir" env dracut \

umount -l "$chroot_dir/proc"

umount "$chroot_dir/initrd"
rm "$chroot_dir/initrd"
mv "$chroot_dir/initrd" tmp_initrd
umount "$chroot_dir/root.squashfs"
rm "$chroot_dir/root.squashfs"

Expand Down
5 changes: 1 addition & 4 deletions features/_usi/image.cc.tar
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ mount --bind "$erofs" "$rootfs/tmp/initrd.include/root.img"

initrd="$(mktemp)"

touch "$rootfs/initrd"
mount --bind "$initrd" "$rootfs/initrd"

kernel="$(find "$rootfs/boot/" -name 'vmlinuz-*' | sort -V | tail -n 1)"

chroot "$rootfs" dracut \
Expand All @@ -74,7 +71,7 @@ umount -l "$rootfs/proc"
umount -R "$rootfs/dev"
umount "$rootfs/tmp"

umount "$rootfs/initrd"
mv "$rootfs/initrd" "$initrd"

case "$BUILDER_ARCH" in
amd64)
Expand Down