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

vagrant(rawhide): build & install latest dracut-ng #724

Merged
merged 1 commit into from
Apr 9, 2024
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
14 changes: 7 additions & 7 deletions vagrant/bootstrap_scripts/rawhide-selinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ meson setup "$BUILD_DIR" \
-Dtests=true \
-Dinstall-tests=true
ninja -C "$BUILD_DIR" install

popd

# Install the latest SELinux policy
Expand All @@ -71,12 +70,13 @@ popd
# Force relabel on next boot
fixfiles -v -F onboot

# FIXME: with [0] merged we need to pull in libkmod explicitly; drop this once
# [1] lands in Fedora
#
# [0] https://github.com/systemd/systemd/pull/31131$
# [1] https://github.com/dracut-ng/dracut-ng/pull/118
dracut -f --install /usr/lib64/libkmod.so.2 --regenerate-all
# Build & install latest dracut-ng
git clone https://github.com/dracut-ng/dracut-ng
pushd dracut-ng
./configure
make -j "$(nproc)"
make install
dracut --version

systemd-analyze set-log-level debug
systemd-analyze set-log-target console
2 changes: 1 addition & 1 deletion vagrant/boxes/rawhide_selinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dnf upgrade -y
# Install build & test dependencies
dnf install -y attr busybox cryptsetup dnf5-plugins dosfstools fedpkg git nc qemu-kvm rpm-build rpmdevtools rust socat \
strace time tmt tpm2-tss-devel 'python3dist(jinja2)'
dnf builddep -y systemd
dnf builddep -y dracut systemd

# Unlock root account and set its password to 'vagrant' to allow root login
# via ssh
Expand Down
Loading