forked from kairos-io/kairos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Minor enhancements (kairos-io#239)
* 🐛 Fixup grub option quoting * ⚙️ Copy discovery to oem if found * ✨ Add environment block to install * ⚙️ Use /oem for mount in kcrypt post-hook * 📝 Update docs with installer env reference * 🤖 Add test deps * ⚙️ Be consistent and set env also for post-hooks * ⚙️ propagate env in post-hooks
- Loading branch information
Showing
9 changed files
with
77 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: "Update discovery plugins" | ||
stages: | ||
after-upgrade: | ||
- name: "Update plugins" | ||
commands: | ||
- | | ||
STATEDIR=/tmp/mnt/OEM | ||
OEM=$(blkid -L COS_OEM || true) | ||
mkdir -p $STATEDIR || true | ||
mount ${OEM} $STATEDIR | ||
if [ -d "$STATEDIR/system/discovery" ]; then | ||
cp -rfv /system/discovery/* $STATEDIR/system/discovery | ||
fi | ||
umount $STATEDIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters