Comments (1)
Reading the logs of rpm-ostree compose tree
I saw this
+ mkdir -p /run
+ /usr/bin/bootupctl backend generate-update-metadata /
Generated update layout for EFI: grub2-efi-ia32-1:2.06-95.fc38.x86_64,grub2-efi-x64-1:2.06-95.fc38.x86_64,shim-ia32-15.6-2.x86_64,shim-x64-15.6-2.x86_64
After that, searching files from /usr/lib/bootupd/updates
saw this
# find /usr/lib/bootupd/updates/ -type f
/usr/lib/bootupd/updates/EFI.json
/usr/lib/bootupd/updates/EFI/BOOT/BOOTIA32.EFI
/usr/lib/bootupd/updates/EFI/BOOT/BOOTX64.EFI
/usr/lib/bootupd/updates/EFI/BOOT/fbia32.efi
/usr/lib/bootupd/updates/EFI/BOOT/fbx64.efi
/usr/lib/bootupd/updates/EFI/fedora/BOOTIA32.CSV
/usr/lib/bootupd/updates/EFI/fedora/BOOTX64.CSV
/usr/lib/bootupd/updates/EFI/fedora/grubia32.efi
/usr/lib/bootupd/updates/EFI/fedora/grubx64.efi
/usr/lib/bootupd/updates/EFI/fedora/mmia32.efi
/usr/lib/bootupd/updates/EFI/fedora/mmx64.efi
/usr/lib/bootupd/updates/EFI/fedora/shim.efi
/usr/lib/bootupd/updates/EFI/fedora/shimia32.efi
/usr/lib/bootupd/updates/EFI/fedora/shimx64.efi
Reading a little the code, when run adopt_update
the function apply_diff
tries to delete files from EFI directory (/boot/efi
) and replace it with the content of BOOTUPD_UPDATES_DIR
(/usr/lib/bootupd/updates
). I'm right?
It's feasible to only copy files from the architecture actually running? Or fail silently if those files doesn't exists?
from bootupd.
Related Issues (20)
- CI is failing
- `bootupctl backend install` leaks mount to EFI HOT 2
- Support for Fedora Silverblue? HOT 8
- Suggest migrating to `/efi`
- Add `bootupctl backend install` option to install BIOS bootloader HOT 3
- use systemd inhibitors
- consider folding into github.com/containers/bootc HOT 5
- Would it be possible to do A/B updates using `BootNext` from efibootmgr? HOT 3
- Do not depend on `--unified-core` HOT 2
- add extra message about starting point when performing update
- port to cap-std
- Update the ESP by creating a tmpdir and RENAME_EXCHANGE HOT 4
- error: connecting to /run/bootupd.sock HOT 2
- how to workaround rpm dependency? HOT 6
- add s390x support
- drop systemd service HOT 6
- Support for adopt --with-static-configs
- bootupctl ignores boot timeout settings in a kickstart installation HOT 3
- handle efi vendordir better HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootupd.