mesh/delivery merged: source.main moved to novox/mesh-catalog@b9abfde492b2
mesh/check checking f7616c6a9bd4 on b9abfde492b2
Before mkinitcpio -P, a preset naming ALL_config="/etc/mkinitcpio.conf" is copied to the state's taken-over/ and loses that line (another ALL_config is left and named); after it, an image without kernel/x86/microcode/ in its first 64 KiB fails the unit and records nothing. The unit may write /etc/mkinitcpio.d. The README names no node. Tests: 1977/AC7, 1977/AC8; AC3/AC4 fixtures write images. Builds: L7, L8, L9 (issue 1977 note 4)
23 lines
727 B
Desktop File
23 lines
727 B
Desktop File
[Unit]
|
|
Description=The initramfs images with the CPU's current microcode
|
|
# Module kernel, novox/hq issue 1977. Starting this unit builds the images again when the microcode drop-in
|
|
# changed since they were last built; a failed mkinitcpio fails the unit. The microcode packages are declared
|
|
# before this unit.
|
|
After=local-fs.target
|
|
Wants=local-fs.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=${dir:state}/initramfs apply
|
|
# It writes the boot partition, the presets and its own state; mkinitcpio keeps its work in a private /tmp.
|
|
ProtectSystem=strict
|
|
ReadWritePaths=/boot /etc/mkinitcpio.d ${dir:state}
|
|
PrivateTmp=yes
|
|
ProtectHome=yes
|
|
PrivateNetwork=yes
|
|
NoNewPrivileges=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|