Skip to content

Commit

Permalink
Add eos-esp-generator script for mounting ESP
Browse files Browse the repository at this point in the history
This is intended to replace systemd-gpt-auto-generator for mounting the
ESP. The various policies we need are difficult to capture there and
would be hard to upstream. Instead, this program can capture all the
products we support to ensure the ESP is mounted where and how we need
it. It creates units in the normal generator directory, which mean they
take precedence over the gpt-auto-generator units in the late generator
directory.

I've tested this on EOS with GPT, EOS with MBR, and PAYG. What's not
currently supported is the Windows dual boot configuration where the
root disk isn't really the root disk.

https://phabricator.endlessm.com/T29930
  • Loading branch information
dbnicholson committed Oct 25, 2024
1 parent fa0809d commit 6565c64
Show file tree
Hide file tree
Showing 42 changed files with 2,717 additions and 0 deletions.
1 change: 1 addition & 0 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ max-line-length = 88
# Include scripts to check in addition to the default *.py.
filename =
*.py,
./eos-esp-generator,
./eos-migrate-chromium-profile,
./eos-migrate-firefox-profile,
./eos-update-flatpak-repos,
Expand Down
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ dist_systemduserunit_DATA = \
$(NULL)

dist_systemdgenerator_SCRIPTS = \
eos-esp-generator \
eos-live-boot-generator \
eos-vm-generator \
$(NULL)
Expand Down
Loading

0 comments on commit 6565c64

Please sign in to comment.