Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi 4 enablement #16

Merged
merged 1 commit into from
Nov 17, 2023
Merged

Raspberry Pi 4 enablement #16

merged 1 commit into from
Nov 17, 2023

Conversation

ericcurtin
Copy link
Collaborator

Also made some changes around decompression algorithm detection, etc.

Also made some changes around decompression algorithm detection, etc.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
popd || exit
rm -f /boot/initoverlayfs-"${kver}".img
mkfs.erofs /boot/initoverlayfs-"${kver}".img ${INITRAMFS_DUMP_DIR}
pushd "$INITRAMFS_DUMP_DIR"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shellcheck will complain about missing || exit


# Only erofs-based initoverlayfs supported, ext4, btrfs, xfs, etc. to be implemented"
SUPPORTED_FILESYSTEM=("erofs")
SKIPCPIO_BIN="/usr/lib/dracut/skipcpio"

exec_erofs() {
pushd "${INITRAMFS_DUMP_DIR}" || exit
"${SKIPCPIO_BIN}" /boot/initramfs-"${kver}".img | "${DECOMPRESSOR}" | cpio -ivd
popd || exit
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@dougsland
Copy link
Collaborator

We already have some shellcheck warnings nothing really special about CI pre-commit.

@dougsland dougsland merged commit ea51711 into main Nov 17, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants