Skip to content

Commit 6565c64

Browse files
committed
Add eos-esp-generator script for mounting ESP
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
1 parent fa0809d commit 6565c64

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2717
-0
lines changed

.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ max-line-length = 88
88
# Include scripts to check in addition to the default *.py.
99
filename =
1010
*.py,
11+
./eos-esp-generator,
1112
./eos-migrate-chromium-profile,
1213
./eos-migrate-firefox-profile,
1314
./eos-update-flatpak-repos,

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ dist_systemduserunit_DATA = \
3838
$(NULL)
3939

4040
dist_systemdgenerator_SCRIPTS = \
41+
eos-esp-generator \
4142
eos-live-boot-generator \
4243
eos-vm-generator \
4344
$(NULL)

0 commit comments

Comments
 (0)