Skip to content

Commit

Permalink
dracut: fix problems where package conflicting with mkinitcpio cannot…
Browse files Browse the repository at this point in the history
… be built
  • Loading branch information
NeroReflex committed Jul 24, 2024
1 parent 6a25c4b commit 16ab338
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ set -x

sudo chown -R build:build /workdir/pkgs

# ChimeraOS now uses dracut and excludes mkinitcpio due to pacman hooks causing problems
# Ensure package conflicting with mkinitcpio can be built
sudo pacman -S --noconfirm dracut
sudo pacman -R --noconfirm mkinitcpio

PIKAUR_CMD="PKGDEST=/workdir/pkgs pikaur --noconfirm --build-gpgdir /etc/pacman.d/gnupg -S -P /workdir/${1}/PKGBUILD"
PIKAUR_RUN=(bash -c "${PIKAUR_CMD}")
"${PIKAUR_RUN[@]}"
Expand Down

0 comments on commit 16ab338

Please sign in to comment.