mirror of
https://github.com/KDE/kde-linux.git
synced 2026-04-23 16:09:48 -04:00
Fix recent update issues
This fixes the recent issues of `cannot stat /efi/EFI/Linux` we get when using `update.sh` systemd no longer auto-mounts the ESP at `/efi`. Reason is explained in a comment inline.
This commit is contained in:
committed by
Nate Graham
parent
fea048bde0
commit
9ccf3abe07
@@ -11,7 +11,8 @@ MatchPattern=kde-linux_@v.efi
|
||||
|
||||
[Target]
|
||||
Type=regular-file
|
||||
Path=/efi/EFI/Linux
|
||||
Path=/EFI/Linux
|
||||
PathRelativeTo=boot
|
||||
# Keep matching kdeos so the old images get cleaned up.
|
||||
MatchPattern=kde-linux_@v+@l-@d.efi \
|
||||
kde-linux_@v+@l.efi \
|
||||
|
||||
@@ -78,9 +78,11 @@ rm -rf \
|
||||
rm -rf \
|
||||
/usr/share/doc/
|
||||
|
||||
## /boot is not necessary. We've already created our initrd.
|
||||
## /boot is now the preferred mount point for systemd and BLS:
|
||||
## https://uapi-group.org/specifications/specs/boot_loader_specification/#mount-points
|
||||
## However, its content are no longer necessary, since we've already created our initrd.
|
||||
# shellcheck disable=SC2114
|
||||
rm -rf /boot
|
||||
rm -rf /boot/*
|
||||
|
||||
## Not sure where this comes from, but it's not useful.
|
||||
rm -rf /.cache
|
||||
|
||||
Reference in New Issue
Block a user