68 Commits

Author SHA256 Message Date
bab8691b39 Accepting request 1329617 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1329617
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=89
2026-01-29 16:44:43 +00:00
b438a9c2fa - Update to version 1+git20260127.6240918:
* Correctly replace the boot entry with a new name

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=203
2026-01-28 07:32:46 +00:00
9188fdb332 - Update to version 1+git20260122.dd5ba5c:
* Fix boot entries detection when boot counting is enabled
  * [.github]: Improve issue templates

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=202
2026-01-22 11:45:12 +00:00
65559523fd Accepting request 1327386 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1327386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=88
2026-01-15 15:43:43 +00:00
0494158797 - Update to version 1+git20260115.cd41d07:
* sdbootutil: ignore devices that aren't listed in /etc/crypttab
  * Print message about debug log to stderr

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=201
2026-01-15 13:01:06 +00:00
8f756a2de4 - Update to version 1+git20260114.371a8b3:
* Create the /var/lib/sdbootutil directory during installation
  * Make fde-tools file optional

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=200
2026-01-14 10:45:55 +00:00
ff7ad3f275 - Update to version 1+git20260114.a54f52c:
* Make fde-tools file optional

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=199
2026-01-14 08:47:42 +00:00
227d77b96d Accepting request 1326007 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1326007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=87
2026-01-09 16:03:05 +00:00
39d2bfce30 - Update to version 1+git20260108.be38224:
* Use tmpfiles.d for /var directories (PED-14900)
- Update to version 1+git20260107.2807c87:
  * Enable armv7 builds (boo#1254865)

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=198
2026-01-08 19:53:51 +00:00
aa8a03bd57 Accepting request 1323485 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1323485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=86
2025-12-18 17:30:45 +00:00
8c34006384 - Update to version 1+git20251218.1cd7294:
* Improve partition detection for multipath (boo#1254317)

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=197
2025-12-18 09:15:32 +00:00
b8cc72178e Accepting request 1322199 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1322199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=85
2025-12-12 20:40:30 +00:00
ed3c559563 - Update to version 1+git20251211.b3d0304:
* Set default entry when removing a kernel
  * Fix return value when image is set (boo#1254534)
  * Return error if the hash program is not installed

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=196
2025-12-11 12:28:00 +00:00
6f220cb613 Accepting request 1320143 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1320143
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=84
2025-11-27 14:19:08 +00:00
22e3f6714e - Update to version 1+git20251126.f7a46a1:
* Improve error messages

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=195
2025-11-26 10:25:36 +00:00
6d8269b31c Accepting request 1318576 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1318576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=83
2025-11-20 13:47:13 +00:00
3e83b99652 - Update to version 1+git20251119.0bee866:
* Make sure to use consistent locale (bsc#1253652)

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=194
2025-11-19 07:45:00 +00:00
248ba6dc1a Accepting request 1317784 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1317784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=82
2025-11-18 14:30:11 +00:00
321aa7d71b - Update to version 1+git20251114.1783016:
* Find also entries with boot counter
  * Avoid adding tries for existing entries

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=193
2025-11-14 12:19:25 +00:00
fcc564de99 Accepting request 1317038 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1317038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=81
2025-11-11 18:19:39 +00:00
910afbb5ff - Update to version 1+git20251111.611edd1:
* Drop shebang in the enroll module

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=192
2025-11-11 09:11:35 +00:00
4f971a1937 - Update to version 1+git20251110.0d334b6:
* Fix some rpmlint warnings about executable conf files
  * Recognize tracing code parameters
  * Fix summary of subpackages
  * Remove executable bit
  * snapper: add drop-in for CAP_SYS_CHROOT capability

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=191
2025-11-10 13:38:27 +00:00
90a71a5690 - Update to version 1+git20251110.22f1c43:
* Recognize tracing code parameters
  * Fix summary of subpackages
  * Remove executable bit
  * snapper: add drop-in for CAP_SYS_CHROOT capability

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=190
2025-11-10 11:51:55 +00:00
422ccaef85 Accepting request 1316460 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1316460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=80
2025-11-07 17:18:30 +00:00
54e4abcdce - Update to version 1+git20251107.49e9025:
* Ask the PIN or PW when enrolling (bsc#1252871)
  * Read the password from environment when enrolling
  * Fix when reading password from environment
  * Clarify the help message

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=189
2025-11-07 15:11:01 +00:00
00574d149a - Update to version 1+git20251106.f0b1a06:
* Drop kernel version in title for grub2-bls
  * Do not always install the dracut module in hostonly mode
  * snapper: exit when path is not root
- Update to version 1+git20251029.c883722:
  * Set minimal udev version required
- Update to version 1+git20251028.e423362:
  * Drop systemd-experimental requirement
- Update to version 1+git20251003.f402058:
  * Do not mount /run/media in the chroot
  * Normalize how to hide errors
  * Ask the volume key only if --measure-pcr is set
  * Abort any updating inside a transaction
  * Bindmount /var/lib/systemd for tukit
  * Revert "Do not ask the password while in a transaction"
  * Only update PCR 15 if --measure-pcr is set
  * Do not ask the password while in a transaction
  * Add parameter for code tracing
- Update to version 1+git20250917.7aab076:
  * Revert "PCR#15 workaround for LVM devices"
  * measure-pcr-generator: escape the device name
  * Fix boot_root for systemd 258
- Update to version 1+git20250909.8b2878e:
  * Check KEY for LUKS2 password
- Update to version 1+git20250903.f5a076b:
  * Distiguish between path and id for boot entries
- Update to version 1+git20250820.077bd8b:
  * Revert "Ignore UPDATE_NVRAM (bsc#1247952)"
  * Fix dracut "No '/dev/log' or 'logger'" message
  * Don't mount /etc in chroot with btrfs subvolume
  * Fix issue template directory name
- Update to version 1+git20250814.85181f6:
  * Add issue templates for bugs and feature requests
  * Use command line of target snapshot
  * Add --no-measure-pcr to opt-out PCR15
  * Remove README images
- Update to version 1+git20250812.13f4562:
  * Ignore UPDATE_NVRAM (bsc#1247952)
- Update to version 1+git20250811.2048838:
  * Add easy advanced debugging
- Update to version 1+git20250811.5fc14ca:
  * Enable sdbootutil-update-predictions.service on enroll
  * Fix device not marked as portable
  * Fix handling of configuration UPDATE_NVRAM
- Update to version 1+git20250811.2fd41f0:
  * Clarify when the boot entries are created
  * Measure all bootloader combinations
  * Remove hard coded EFI boot entry name
- Update to version 1+git20250805.67fa6cb:
  * PCR#15 workaround for LVM devices
  * Use installkernel() only to install kernel modules
- Update to version 1+git20250804.8dccab3:
  * crypttab: do not add/remove parameters for ignored entries
- Update to version 1+git20250731.055e2fe:
  * Refactor the write_issue_file function
- Update to version 1+git20250731.b7568e3:
  * Some style changes
  * Exit if no encrypted devices
- Update to version 1+git20250729.9dba13a:
  * sdbootutil-enroll: support agetty for issue.d, too
  * Support riscv64 in set_image_name
- Update to version 1+git20250724.553d46c:
  * measure-pcr-validator: fail if the file is missing
  * measure-pcr-validator.service: Run after initrd-root-device.target
  * measure-pcr-validator.service: Fix failure handling
  * Clean the default snapshot in Tumbleweed
  * Improve volume key extraction
- Update to version 1+git20250722.bf18f3b:
  * Measure kernel in PCR4 for grub2-bls if secure-boot
- Update to version 1+git20250718.9f557f7:
  * MicroOS mounts encrypted /var in initrd
- Update to version 1+git20250716.b03c12f:
  * Revert "Check for transactional systems by actually checking ro status, not mount attributes"
- Update to version 1+git20250710.d8e5d82:
  * Check for transactional systems by actually checking ro status, not mount attributes
- Update to version 1+git20250613.ee73e55:
  * Fix uhmac installation
  * Remove edition downgrade
  * Update Cargo.lock
- Update to version 1+git20250529.307d6ff:
  * Remove noarch for main package
  * Copy measure-pcr-prediction if missing in ESP
  * Compile and install uhmac
  * Use uhmac instead of openssl for HMAC
  * uhmac: add Rust tool for HMAC
  * Re-enable riscv64 arch
  * Support non-secure boot installations
  * Rework removable media detection
  * jeos-firstboot-enroll: fix typo in msgbox
  * Measure GPT of the disk with ESP, not the disk with root
  * jeos-firstboot-enroll: show final error message
- Update to version 1+git20250505.f4890e9:
  * Build only for Intel and arm (bsc#1242256)
- Update to version 1+git20250430.f7d1ad1:
  * Update DA lockout message
  * jeos-firstboot-enroll: show errors as dialog
- Update to version 1+git20250425.25d659b:
  * get-timeout for sd-boot return unsigned value
  * jeos-firstboot-enroll: drop unused variable
  * jeos-firstboot-enroll: continue if no enrollment (bsc#1236583)
  * jeos-firstboot-enroll: hide keyctl output
  * jeos-firstboot-enroll: add title and description
- Update to version 1+git20250423.61ca94f:
  * Revert "Use filesystem order in grub2-bls" (bsc#1241046)
- Update to version 1+git20250423.7e34390:
  * Check if TPM2 is in lockout (bsc#1241168)
  * Retry password when mismatch
- Update to version 1+git20250421.7ffd25a:
  * Report when PCR 15 cannot be predicted
  * Reap failed keys
  * Improve asking passwords (bsc#1241171)
- Update to version 1+git20250410.9086124:
  * Simplify code calling mount_chroot
  * Support transactional systems without overlayfs on /etc
  * Remove unnecessary umount_etc
- Update to version 1+git20250409.7ec17ae:
  * Call cleanup when snapshots change (boo#1240932)
  * Add cleanup command to drop broken boot entries
  * Document --all parameter
  * Sync the bootloader also in MicroOS
- Update to version 1+git20250407.f84e1da:
  * Drop PCR2 if in virtual machine
  * Add have_slot function
  * Get boot time from /proc/stat (boo#1240851)
- Update to version 1+git20250404.f9b9576:
  * Check free space early
  * Add kernel version in title if grub2-bls
- Update to version 1+git20250404.20a1dfb:
  * Limit 640 to 4 variations
  * Fix get_default for grub2-bls
- Update to version 1+git20250403.0ae7eeb:
  * Drop shifted variations before the new one
  * Create loader.conf if missing
- Update to version 1+git20250401.2eda714:
  * Shift only the matching component
  * Rework free-space allocator algorithm
  * Clarify when the initrd is generated
  * Add the kernel version for measurement order
  * Keep original prediction for pcrlock aligment
  * Check array size for emptiness
  * Refactor debug output
  * Reclaim free space when updating entries
  * spec: Update bootloader if it is recognized
  * Limit variations up to 8 for a component
  * Add priority field in entry list
  * Make snapshot_ids ordered by importance
  * Convert echo to info
  * In virtual environment drop PCR0
- Update to version 1+git20250328.f1d4885:
  * Fallback to file config when bootctl fails
  * Remove TODO file
  * Declare local variable
  * Print colors when in terminal
  * Do not load the config file when variable is set
  * Uset btrfs instead of snapper for set default snapshot
  * Drop unused entries parameter
  * Improve boot loader detection
- Update to version 1+git20250327.9714cbd:
  * Get boot_dst from os-release NAME
  * Add --devices parameter
- Update to version 1+git20250324.c1cd393:
  * Use filesystem order in grub2-bls
- Update to version 1+git20250311.8d3db8b:
  * Load the config file when updating the predictions
  * Include swap partitions for PCR15
  * Soft fails keyctl setperm when called via YaST
  * Revoke cryptenroll key if is incorrect
- Update to version 1+git20250307.d46fcde:
  * Add fallback logic when generatic predictions
  * Don't use sdbootutil-pin when reading vk
  * Drop parameters for generate_tpm2_predictions
  * Fix style
  * Fix --signed-policy parameter
- Update to version 1+git20250306.0811984:
  * Fix list of tracked devices
  * Don't echo '\n' when timeout or default entry are empty
- Update to version 1+git20250305.278a563:
  * Revert "Remove .conf suffix from grubenv (bsc#1237198)"
  * Drop unused parentheses
  * Fix name of local variable
- Update to version 1+git20250304.16b1e1b:
  * Fix location of initial boot entries
  * Set keyslot as local
  * Style changes
- Update to version 1+git20250303.63ae770:
  * Fix typo in comment
  * Fix openssl -noout call
  * Store the password in cryptenroll keyring
- Update to version 1+git20250303.11b90a2:
  * Validate the ESP mount point
  * Do not recurse when called from snapper
- Update to version 1+git20250227.9d0f768:
  * Make set-default-snapshot consistend
- Update to version 1+git20250227.0f0a096:
  * Fix typo in variable name
  * Update help entries
  * Fix wrong comparison
- Update to version 1+git20250227.da22e9b:
  * Measure all boot entries in grub2-bls
  * Drop wrong comment
  * Validate set-default parameter
  * Quiet openssl when gnerating RSA key
- Update to version 1+git20250225.b78f812:
  * Use also cryptenroll key to recover the volume key
- Update to version 1+git20250225.292283f:
  * Support UUID references in crypttab
- Update to version 1+git20250224.c9be3b6:
  * Do not use && when copying signature (bsc#1237505)
- Update to version 1+git20250221.19f7d1a:
  * Reformat the spec file
  * Rework keyctl calls to keep the session keyring
- Update to version 1+git20250219.a796c24:
  * generator: exit if /etc/crypttab is missing
  * Fix measure-pcr-validator StandardOutput
- Update to version 1+git20250217.f216443:
  * Remove .conf suffix from grubenv (bsc#1237198)
- Update to version 1+git20250214.ef3b642:
  * Add banner reporting PCR 15 mismatch
  * Generate PCR 15 predictions if crypttab changed
  * Create predictions for PCR 15
  * Add measure-pcr-validator service
  * Order devices when FIDO2 keys are used
  * Set BuildArch to noarch
  * Add dracut measure-pcr module with generator
  * Add tpm2-pcr-measure crypttab parameter
  * Fix help indentation
- Update to version 1+git20250210.45458c4:
  * Requires keyutils (bsc#1236940)
- Update to version 1+git20250130.2bcbf46:
  * Recognize set-timeout -1 in systemd-boot (bsc#1236578)
  * Drop unused parameters
  * Remove interactive leftover
  * Add bash completions
  * Export options definition to function
  * Export command definition to function
  * Export bootctl evaluation to function
  * export image name setting to function
  * Remove UI command help
  * Mount devices and subvolumes for chroot
  * Set permission for new keys
  * Regenerate initrd if missing
  * Remove old initrd
  * Accept spaces or tabs when parsing crypttab
  * add info to --help about how to ignore devices
  * Do not include command line parameters before initrd= and
    BOOT_IMAGE= This is necessary because the kernel can inject
    command line options that are placed in front of these
    parameters. sdbootutil then picks these up on the next run and
    causes duplication of them, as the kernel will again inject the
    option. Now sdbootutil ignores these injected parameters.
  * Do not fail if the parent is missing
  * Drop extra echo
  * Fix 'if' expression
  * Fix enrollment method variable
  * Drop unused variables for TUI
  * Remove TUI components
  * Add --removable as alias for --portable
  * Show dracut output in verbose mode
  * Make if-else case statement
  * Add --pcr cli option
- Update to version 1+git20241217.5aeb4e9:
  * Use only the first output line of findmount in free space calc
- Update to version 1+git20241217.1370153:
  * Add trigger for grub2-bls
- Update to version 1+git20241206.dccea55:
  * Fix quotes in bind mount command (bsc#1233378)
  * Allow multiple entries for initial measurements
- Update to version 1+git20241126.83ebe2c:
  * Fix help for get-timeout
  * Add get default and timeout
  * Replace -a with &&
  * Drop PATH field
  * sdbootutil-enroll: harden script against unexpected conditions
- Update to version 1+git20241118.23c1900:
  * Fix missing grep file
  * Detect new bootctl error message
  * If BLI is not active use the loader.conf
- Update to version 1+git20241112.ecf5f97:
  * Move enrollment from disk-encryption-tool
  * Use [/usr]/etc/default/fde-tools as config file
- Update to version 1+git20241107.6f81ff3:
  * Add list-devices command
  * Ignore devices with x-sdbootutil.ignore mark
  * Quote variable expansion
  * Support empty crypttab options
- Update to version 1+git20241107.542aa84:
  * Fix missing timeout parameter
- Update to version 1+git20241105.3404bf8:
  * Do a cleanup before making free space
  * Simplify unlock mechanism and recovery key enroll
  * Drop generate-pin parameter
  * Indentation and comments fix
  * Measure grubenv
  * Add set-default and set-timout commands
  * rollback bootloader after setting default snapshot
  * Improve error checking and fix small bugs
  * Add --unlock argument
  * Use unique names for the kernel keyring
  * Add --generate-pin to generate a recovery PIN
  * Enroll a new recovery key
  * Bind mount snapshot dir onto itself before chroot.
- Update to version 1+git20241017.34ee974:
  * Keep SELinux label of /etc/crypttab intact when changing options
    (boo#1231696)
  * Fix typo in update-entry help, should be  /etc/kernel/cmdline
- Update to version 1+git20241008.3df16d2:
  * Improve not found bootloader error msg
- Update to version 1+git20241007.192698c:
  * Translate GRUB2 architecture name
- Update to version 1+git20241004.a1bb60f:
  * Support bootloader switch
  * Update order after bootloader install
  * Use /etc/sysconfig/bootloader to untie detection
  * Reference to grub2-bls
- Update to version 1+git20241002.7da4a47:
  * Do not specify bootloader requirement
- Update to version 1+git20241002.7b8957c:
  * Requires udev for bootctl
  * Use chroot instead of --sysroot in dracut
  * Replace cut with idiomatic code
  * Show recovery PIN generated by systemd-pcrlock
- Update to version 1+git20240912.02d30ed:
  * Generate predictions for update_entry
- Update to version 1+git20240905.e7ca8cf:
  * Replace root=UUID= with root=device
- Update to version 1+git20240903.81f1f40:
  * Generate new predictions for update_all_entries
  * Use raw option in jq update all entries
- Update to version 1+git20240830.7f696c8:
  * Use parameter "snapshot" instead the global one
  * Add update-entry and update-all-entries commands
  * Generate tpm2 public key before enroll_pcroracle
  * Fix function names for enrolling pcr-oracle
  * Check if enroll functions worked correctly
  * Warn when pcrlock.json or tpm2-pcr-signature.json are missing
- Update to version 1+git20240829.1b5aa4d:
  * Add --default-snapshot parameter (bsc#1224773)
- Update to version 1+git20240823.30ef4f1:
  * Remove the executed line in grub2bls
  * Support new grub2-bls package
- Update to version 1+git20240822.bc7e06b:
  * Hide exit code for set-default-snapshot plugin call
- Update to version 1+git20240812.ee2298f:
  * Use arg_no_reuse_initrd as update_initrd
  * Reorder PIN and PW search
  * fix portable installation The fallback.efi should not be added when installing in portable mode
  * Use /run for tmpfiles instead of /etc
- Update to version 1+git20240722.e6d7c91:
  * Fix early return value when cleaning pcrlock.d
- Update to version 1+git20240719.36c650f:
  * Remove pcrlock.d if there are too many files
  * Limit LAST_WORKING_SNAPSHOTS to 3
- Update to version 1+git20240718.6fbaad1:
  * Enroll using pcr_oracle if pcrlock fails
  * Fix loader.conf measurement
  * Address some shellcheck issues
  * Implement basic [un]enroll commands
  * snapper: do not error if sdbootutil fails
- Update to version 1+git20240716.bb40c38:
  * Add --only-default option for list-entries command
  * Turn off colors when the shell it not interactive
  * Support portable installation of bootloader This is useful to create portable drives, so the bootloader entry isn't created permenantly.
- Update to version 1+git20240704.a2c5a26:
  * Complain if fde-tools is missing
  * Remove rpm scriptlets
  * Remove is_transactional check
  * Call regenerate-initrd-posttrans
  * Remove pcrlock files older than 1 week
  * Measure initial state from backup
  * Remove useless TODO comments
  * Rename variable to SDB_ADD_INITIAL_COMPONENT
  * Fix transactional check
  * Add system / snapper as prefix for tw/grub2-bls
  * Compose the entry file name in a single place
  * Make 'invert' a generic case
  * Make free space for new kernel / initrd
  * Replace match with test in jq
  * grub: add grub drive in initrd path
  * grub: blscfg is included in the image
  * Fix pcrlock_manual_raw call
  * Add emacs .dir-locals.el
  * Show success message
  * Use a recovery pin for re-enrollment
  * grub2: entries predictions as a single component
  * grub2: remove duplicate function
  * Add blscfg.mod in the ESP and update predictions
  * grub2: generate pcrlock predictions
  * Fix some typos
- Update to version 1+git20240514.56dc89c:
  * Add show-entry command
  * Add SYSTEMD_COLORS flag
  * Add byte order mark to boot.csv
- Update to version 1+git20240506.573a6a4:
  * Don't try to mess with overlayfs inside transaction
  * .spec - requires: dialog
- Update to version 1+git20240410.3325802:
  * fallback for machine-id
- Update to version 1+git20240408.49e4021:
  * Update requirements
  * Measure manually initrd if pcrlock fails
  * Set SYSTEMD_LOG_LEVEL if verbose
  * Only error out on empty machine-id when actually used
  * feat: add basic boot assessment
  * fix: use new os-release and machine-id files
  * dracut call: --add-device belongs to --sysroot
  * Make sdbootutil usable with no snapshot Systems
- Update to version 1+git20240321.04bfbac:
  * Warning if make-policy do not register all PCRs
- Update to version 1+git20240320.8b35615:
  * Revert "Remove GRUB2 package conflict"
- Update to version 1+git20240314.3472899:
  * Add minimal grub configuration
  * Add systemd.machine_id to kernel command line
  * Add SNAPSHOT parameter to bootloader command
  * Remove GRUB2 package conflict
  * Resolve some shellcheck issues
  * Remove unused variable
  * Change tempfile name
  * needs-update and update meets grub2
  * Consider grub2 when installing the bootloader
  * Add grub2 detector and command
  * fix: delete correct initrd file after installation
  * feat: add add-all-kernels-clean function
  * refactor: use snapshot as argument for all commands
  * Set SYSTEMD_LOG_LEVEL=warning for pcrlock
  * Don't require /etc/sysconfig/fde-tools for pcr-oracle
  * add loader.conf to locking
  * Make sure there are actually entries
  * Prefer pcr-oracle if it's actually configured
  * Don't log to syslog ourselves
  * Fix typo
  * fix: remove Tumbleweed version from regular entries
- Update to version 1+git20240215.cb7e392:
  * Add --no-random-seed argument
- Update to version 1+git20240214.ba81e0e:
  * Fix pcr-oracle use
  * Add device when generating initrd for snapshots
  * Use systemd-pcrlock
  * Pre-built initrd support
  * Add subvolumes_prefix support
- Update to version 1+git20240122.c0d8f76:
  * Integrate with kernel-install
  * Rework kernel listing a bit
  * Add checks to list-entries
  * List entries for current system only by default
  * Fall back to loader.conf if setting efivar failed
  * Runtime determine kernel image name
  * Add list-snapshots
  * Add list-entries command
- Update to version 1+git20240118.7e744b4:
  * Bind mount /etc inside the snapshot
- Update to version 1+git20231221.42797ab:
  * Do not fail if LUKS2 section is empty
- Update to version 1+git20231214.b186b2d:
  * Fix exit code
  * Revert "Add pcr predictions to initrd for now"
- Update to version 1+git20231213.2a07af6:
  * Add update-predictions command
  * Predict all the entries
- Update to version 1+git20231211.01c6a76:
  * Add ExclusiveArch for 64-bit EFI architectures
- Update to version 1+git20231129.d7f3909:
  * Add pcr predictions to initrd for now
  * Generate new TPM2 predictions with pcr-oracle
  * Update file triggers
  * Fix exit code of update command
  * Add a %transfiletriggerin to update EFI binaries
  * Update help text
- Update to version 1+git20231114.6bcf1d3:
  * Fix quoting when calling dracut
- Update to version 1+git20231102.beb4c19:
  * Update sdboot in snapper hook
  * Install command with specific snapshot
  * Install sdbootutil marker next to loader
  * In t-u mode, don't call sdbootutil in rpm scriptlets
- Update to version 1+git20231026.f43c33c:
  * Fix generating initrd for random snapshots
- Update to version 1+git20231023.873adb9:
  * Use correct image name on aarch64
- Add changes from gh#openSUSE/sdbootutil#21:
  * sdbootutil.spec: Add missing efibootmgr dependency
  * sdbootutil.spec: Make sdbootutil-snapper a hard dependency
- Update to version 1+git20231005.890f70c:
  * Add --no-reuse-initrd option
  * Refactor boot descriptive entries
  * feat: more descriptive bootmenu entries
  * Remove stray set -x
  * speed up snapper list
  * Fix misleading comment
  * Fix helptext
- Update to version 1+git20230817.2a3cd34:
  * Ignore errors from efibootmgr
  * Update spec file
  * Add marker to flag installation using sdbootutil
  * Refactor and fix boot entry installation
  * Don't exit in warn()
  * feat: use arg_esp_path directly
  * fix: get esp_device from bootctl
  * fix: only install shim for secure boot
  * feat: create only non-existing entries & pass correct ESP partition
  * fix: make efibootmgr silent
  * feat: create boot menu entries when installed
- Update to version 1+git20230814.38973c7:
  * Support purge-kernels
  * Fix postun
  * Remove debug logging
- Only install the snapper plugin if sdbootutil is requested
- Bypass git, owner is not available ATM
- Update to version 1+git20230727.a0e666f:
  * Set and honor $SYSTEMD_ESP_PATH
  * rpm-script: don't remove kernel on reinstalls
- Update to version 1+git20230726.a994d2e:
  * Fix installing extra kernels in MicroOS
  * Replace file triggers with scriptlet
  * Fix cleanup of rollback files
  * Don't install unchanged files
  * Add is-bootable and list-kernels commands
  * Add ARCHITECTURE.md which explains how the setup works
  * Add default loader config when installed
- Update to version 1+git20230717.dac075e:
  * Install default boot loader in non-secure-boot case too
- Update to version 1+git20230713.df6eaca:
  * Update features
  * Call stty only in interactive mode
  * silence stty errors
- Update to version 1+git20230713.356f0c5:
  * Fix rpm dependencies
- Update to version 1+git20230711.f5c7e48:
  * Fix setting root and rootflags
- Update to version 1+git20230626.1ef6b4d:
  * creating /etc/kernel directory
  * Update help screen
- Update to version 1+git20230615.587e134:
  * Handle out of space
- initial package

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=188
2025-11-06 14:08:57 +00:00
f2c8f67416 - Update to version 1+git20251106.d3f84de:
* Do not always install the dracut module in hostonly mode
  * snapper: exit when path is not root

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=187
2025-11-06 12:56:35 +00:00
a40e5aeb8e Accepting request 1314340 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1314340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=79
2025-10-29 20:04:20 +00:00
a62eb2e806 - Update to version 1+git20251029.c883722:
* Set minimal udev version required

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=186
2025-10-29 11:55:15 +00:00
770f5c0d9b - Update to version 1+git20251028.e423362:
* Drop systemd-experimental requirement

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=185
2025-10-28 11:34:51 +00:00
feebad1736 Accepting request 1308878 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1308878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=78
2025-10-05 15:50:37 +00:00
90a0aee767 - Update to version 1+git20251003.f402058:
* Do not mount /run/media in the chroot
  * Normalize how to hide errors
  * Ask the volume key only if --measure-pcr is set
  * Abort any updating inside a transaction
  * Bindmount /var/lib/systemd for tukit
  * Revert "Do not ask the password while in a transaction"
  * Only update PCR 15 if --measure-pcr is set
  * Do not ask the password while in a transaction
  * Add parameter for code tracing

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=184
2025-10-03 15:06:03 +00:00
7aec4b360f Accepting request 1305407 from devel:microos
- Update to version 1+git20250917.7aab076:
  * Revert "PCR#15 workaround for LVM devices"
  * measure-pcr-generator: escape the device name
  * Fix boot_root for systemd 258

OBS-URL: https://build.opensuse.org/request/show/1305407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=77
2025-09-18 19:08:06 +00:00
41b18c038d - Update to version 1+git20250917.7aab076:
* Revert "PCR#15 workaround for LVM devices"
  * measure-pcr-generator: escape the device name
  * Fix boot_root for systemd 258

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=183
2025-09-17 14:41:09 +00:00
6f937b5279 Accepting request 1303300 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1303300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=76
2025-09-10 15:29:49 +00:00
86893aacc7 - Update to version 1+git20250909.8b2878e:
* Check KEY for LUKS2 password

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=182
2025-09-09 07:28:37 +00:00
f55686da7b Accepting request 1302618 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1302618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=75
2025-09-04 15:58:57 +00:00
fbd6e9d437 Accepting request 1302617 from home:aplanas:branches:devel:microos
- Update to version 1+git20250903.f5a076b:
  * Distiguish between path and id for boot entries

OBS-URL: https://build.opensuse.org/request/show/1302617
OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=181
2025-09-03 14:48:29 +00:00
28911cf000 Accepting request 1300501 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1300501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=74
2025-08-21 14:54:04 +00:00
89992f832d - Update to version 1+git20250820.077bd8b:
* Revert "Ignore UPDATE_NVRAM (bsc#1247952)"
  * Fix dracut "No '/dev/log' or 'logger'" message
  * Don't mount /etc in chroot with btrfs subvolume
  * Fix issue template directory name

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=180
2025-08-20 12:24:55 +00:00
105095cc67 - Update to version 1+git20250814.85181f6:
* Add issue templates for bugs and feature requests
  * Use command line of target snapshot
  * Add --no-measure-pcr to opt-out PCR15
  * Remove README images

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=179
2025-08-20 06:28:07 +00:00
4f1bea0309 Accepting request 1299048 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1299048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=73
2025-08-13 14:23:00 +00:00
242859cdbf - Update to version 1+git20250812.13f4562:
* Ignore UPDATE_NVRAM (bsc#1247952)

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=178
2025-08-12 11:22:32 +00:00
fc569caee0 - Update to version 1+git20250811.2048838:
* Add easy advanced debugging

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=177
2025-08-11 20:37:12 +00:00
15dbb60f98 - Update to version 1+git20250811.5fc14ca:
* Enable sdbootutil-update-predictions.service on enroll
  * Fix device not marked as portable
  * Fix handling of configuration UPDATE_NVRAM

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=176
2025-08-11 20:08:24 +00:00
2b1ac30cf5 - Update to version 1+git20250811.2fd41f0:
* Clarify when the boot entries are created
  * Measure all bootloader combinations
  * Remove hard coded EFI boot entry name
- Update to version 1+git20250805.67fa6cb:
  * PCR#15 workaround for LVM devices
  * Use installkernel() only to install kernel modules

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=175
2025-08-11 09:39:24 +00:00
4dd09009a4 Accepting request 1297490 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1297490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=72
2025-08-06 12:31:22 +00:00
a8476f0687 - Update to version 1+git20250804.8dccab3:
* crypttab: do not add/remove parameters for ignored entries

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=174
2025-08-04 12:16:17 +00:00
01c907da3a Accepting request 1296809 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1296809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=71
2025-08-01 20:40:09 +00:00
85bb409a7b - Update to version 1+git20250731.055e2fe:
* Refactor the write_issue_file function

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=173
2025-07-31 12:25:29 +00:00
ab04ea8356 - Update to version 1+git20250731.b7568e3:
* Some style changes
  * Exit if no encrypted devices

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=172
2025-07-31 06:38:36 +00:00
8b0866502c - Update to version 1+git20250729.9dba13a:
* sdbootutil-enroll: support agetty for issue.d, too
  * Support riscv64 in set_image_name

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=171
2025-07-30 07:48:48 +00:00
46d250e7ab Accepting request 1295532 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1295532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=70
2025-07-25 15:04:22 +00:00
346f6fd48c - Update to version 1+git20250724.553d46c:
* measure-pcr-validator: fail if the file is missing
  * measure-pcr-validator.service: Run after initrd-root-device.target
  * measure-pcr-validator.service: Fix failure handling
  * Clean the default snapshot in Tumbleweed
  * Improve volume key extraction

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=170
2025-07-24 11:25:42 +00:00
1b9db97e6a Accepting request 1295113 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1295113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=69
2025-07-23 14:32:58 +00:00
0e8e015bce - Update to version 1+git20250722.bf18f3b:
* Measure kernel in PCR4 for grub2-bls if secure-boot

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=169
2025-07-22 13:55:33 +00:00
e4e4808bd7 Accepting request 1294420 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1294420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=68
2025-07-21 17:58:38 +00:00
387c43e43c - Update to version 1+git20250718.9f557f7:
* MicroOS mounts encrypted /var in initrd

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=168
2025-07-18 16:28:37 +00:00
e73d3bef63 Accepting request 1293770 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1293770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=67
2025-07-17 15:17:08 +00:00
e849fc619a Accepting request 1293759 from openSUSE:Factory
Regressed; new fix being discussed at https://github.com/openSUSE/sdbootutil/issues/266

OBS-URL: https://build.opensuse.org/request/show/1293759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=66
2025-07-16 13:52:05 +00:00
0a26e172a2 Accepting request 1293759 from openSUSE:Factory
Regressed; new fix being discussed at https://github.com/openSUSE/sdbootutil/issues/266

OBS-URL: https://build.opensuse.org/request/show/1293759
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=66
2025-07-16 13:52:05 +00:00
6a032f5c60 Accepting request 1293768 from home:aplanas:branches:devel:microos
- Update to version 1+git20250716.b03c12f:
  * Revert "Check for transactional systems by actually checking ro status, not mount attributes"

OBS-URL: https://build.opensuse.org/request/show/1293768
OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=167
2025-07-16 10:59:07 +00:00
70d7d6e86b Accepting request 1292634 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1292634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=65
2025-07-15 14:41:57 +00:00
b16b9d5213 - Update to version 1+git20250710.d8e5d82:
* Check for transactional systems by actually checking ro status, not mount attributes

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=164
2025-07-14 07:40:24 +00:00
eba73fc346 Accepting request 1285396 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1285396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=64
2025-06-14 14:17:05 +00:00
db51104a55 - Update to version 1+git20250613.ee73e55:
* Fix uhmac installation
  * Remove edition downgrade
  * Update Cargo.lock

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=162
2025-06-13 09:33:27 +00:00
98cb7382c8 Accepting request 1281117 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1281117
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sdbootutil?expand=0&rev=63
2025-06-03 15:50:42 +00:00
1c89e07b2f - Update to version 1+git20250529.307d6ff:
* Remove noarch for main package
  * Copy measure-pcr-prediction if missing in ESP
  * Compile and install uhmac
  * Use uhmac instead of openssl for HMAC
  * uhmac: add Rust tool for HMAC
  * Re-enable riscv64 arch
  * Support non-secure boot installations
  * Rework removable media detection
  * jeos-firstboot-enroll: fix typo in msgbox
  * Measure GPT of the disk with ESP, not the disk with root
  * jeos-firstboot-enroll: show final error message

OBS-URL: https://build.opensuse.org/package/show/devel:microos/sdbootutil?expand=0&rev=160
2025-05-29 10:40:26 +00:00
8 changed files with 367 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/sdbootutil.git</param>
<param name="changesrevision">f4890e92b888e4021dbc704798f72dd66f8ac345</param></service></servicedata>
<param name="changesrevision">62409185d8e4c587839f07185f7af3cd7816ee52</param></service></servicedata>

5
config.toml Normal file
View File

@@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8323ce3d80831d63e55ad4019953293f623021cdfd8b393ce6736d2e21aae65c
size 185867

View File

@@ -1,3 +1,291 @@
-------------------------------------------------------------------
Wed Jan 28 07:29:06 UTC 2026 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20260127.6240918:
* Correctly replace the boot entry with a new name
-------------------------------------------------------------------
Thu Jan 22 11:39:50 UTC 2026 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20260122.dd5ba5c:
* Fix boot entries detection when boot counting is enabled
* [.github]: Improve issue templates
-------------------------------------------------------------------
Thu Jan 15 12:58:34 UTC 2026 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20260115.cd41d07:
* sdbootutil: ignore devices that aren't listed in /etc/crypttab
* Print message about debug log to stderr
-------------------------------------------------------------------
Wed Jan 14 10:44:23 UTC 2026 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20260114.371a8b3:
* Create the /var/lib/sdbootutil directory during installation
* Make fde-tools file optional
-------------------------------------------------------------------
Thu Jan 08 19:51:41 UTC 2026 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20260108.be38224:
* Use tmpfiles.d for /var directories (PED-14900)
-------------------------------------------------------------------
Wed Jan 07 09:46:55 UTC 2026 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20260107.2807c87:
* Enable armv7 builds (boo#1254865)
-------------------------------------------------------------------
Thu Dec 18 09:13:42 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251218.1cd7294:
* Improve partition detection for multipath (boo#1254317)
-------------------------------------------------------------------
Thu Dec 11 12:25:54 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251211.b3d0304:
* Set default entry when removing a kernel
* Fix return value when image is set (boo#1254534)
* Return error if the hash program is not installed
-------------------------------------------------------------------
Wed Nov 26 10:21:51 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251126.f7a46a1:
* Improve error messages
-------------------------------------------------------------------
Wed Nov 19 07:34:30 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251119.0bee866:
* Make sure to use consistent locale (bsc#1253652)
-------------------------------------------------------------------
Fri Nov 14 12:15:39 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251114.1783016:
* Find also entries with boot counter
* Avoid adding tries for existing entries
-------------------------------------------------------------------
Tue Nov 11 09:06:28 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251111.611edd1:
* Drop shebang in the enroll module
-------------------------------------------------------------------
Mon Nov 10 13:36:34 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251110.0d334b6:
* Fix some rpmlint warnings about executable conf files
* Recognize tracing code parameters
* Fix summary of subpackages
* Remove executable bit
* snapper: add drop-in for CAP_SYS_CHROOT capability
-------------------------------------------------------------------
Fri Nov 07 15:07:55 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251107.49e9025:
* Ask the PIN or PW when enrolling (bsc#1252871)
* Read the password from environment when enrolling
* Fix when reading password from environment
* Clarify the help message
-------------------------------------------------------------------
Thu Nov 06 14:07:33 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251106.f0b1a06:
* Drop kernel version in title for grub2-bls
* Do not always install the dracut module in hostonly mode
* snapper: exit when path is not root
-------------------------------------------------------------------
Wed Oct 29 11:49:05 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251029.c883722:
* Set minimal udev version required
-------------------------------------------------------------------
Tue Oct 28 10:07:09 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251028.e423362:
* Drop systemd-experimental requirement
-------------------------------------------------------------------
Fri Oct 03 15:04:15 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20251003.f402058:
* Do not mount /run/media in the chroot
* Normalize how to hide errors
* Ask the volume key only if --measure-pcr is set
* Abort any updating inside a transaction
* Bindmount /var/lib/systemd for tukit
* Revert "Do not ask the password while in a transaction"
* Only update PCR 15 if --measure-pcr is set
* Do not ask the password while in a transaction
* Add parameter for code tracing
-------------------------------------------------------------------
Wed Sep 17 14:34:52 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250917.7aab076:
* Revert "PCR#15 workaround for LVM devices"
* measure-pcr-generator: escape the device name
* Fix boot_root for systemd 258
-------------------------------------------------------------------
Tue Sep 09 07:22:59 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250909.8b2878e:
* Check KEY for LUKS2 password
-------------------------------------------------------------------
Wed Sep 03 14:46:15 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250903.f5a076b:
* Distiguish between path and id for boot entries
-------------------------------------------------------------------
Wed Aug 20 12:21:25 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250820.077bd8b:
* Revert "Ignore UPDATE_NVRAM (bsc#1247952)"
* Fix dracut "No '/dev/log' or 'logger'" message
* Don't mount /etc in chroot with btrfs subvolume
* Fix issue template directory name
-------------------------------------------------------------------
Thu Aug 14 17:08:45 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250814.85181f6:
* Add issue templates for bugs and feature requests
* Use command line of target snapshot
* Add --no-measure-pcr to opt-out PCR15
* Remove README images
-------------------------------------------------------------------
Tue Aug 12 11:07:17 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250812.13f4562:
* Ignore UPDATE_NVRAM (bsc#1247952)
-------------------------------------------------------------------
Mon Aug 11 20:35:27 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250811.2048838:
* Add easy advanced debugging
-------------------------------------------------------------------
Mon Aug 11 20:03:25 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250811.5fc14ca:
* Enable sdbootutil-update-predictions.service on enroll
* Fix device not marked as portable
* Fix handling of configuration UPDATE_NVRAM
-------------------------------------------------------------------
Mon Aug 11 09:36:03 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250811.2fd41f0:
* Clarify when the boot entries are created
* Measure all bootloader combinations
* Remove hard coded EFI boot entry name
-------------------------------------------------------------------
Tue Aug 05 13:03:35 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250805.67fa6cb:
* PCR#15 workaround for LVM devices
* Use installkernel() only to install kernel modules
-------------------------------------------------------------------
Mon Aug 04 12:14:06 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250804.8dccab3:
* crypttab: do not add/remove parameters for ignored entries
-------------------------------------------------------------------
Thu Jul 31 12:19:27 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250731.055e2fe:
* Refactor the write_issue_file function
-------------------------------------------------------------------
Thu Jul 31 06:33:35 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250731.b7568e3:
* Some style changes
* Exit if no encrypted devices
-------------------------------------------------------------------
Wed Jul 30 07:43:49 UTC 2025 - Thorsten Kukuk <kukuk@suse.com>
- Update to version 1+git20250729.9dba13a:
* sdbootutil-enroll: support agetty for issue.d, too
* Support riscv64 in set_image_name
-------------------------------------------------------------------
Thu Jul 24 11:23:01 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250724.553d46c:
* measure-pcr-validator: fail if the file is missing
* measure-pcr-validator.service: Run after initrd-root-device.target
* measure-pcr-validator.service: Fix failure handling
* Clean the default snapshot in Tumbleweed
* Improve volume key extraction
-------------------------------------------------------------------
Tue Jul 22 13:41:54 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250722.bf18f3b:
* Measure kernel in PCR4 for grub2-bls if secure-boot
-------------------------------------------------------------------
Fri Jul 18 16:24:10 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250718.9f557f7:
* MicroOS mounts encrypted /var in initrd
-------------------------------------------------------------------
Wed Jul 16 10:57:22 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250716.b03c12f:
* Revert "Check for transactional systems by actually checking ro status, not mount attributes"
-------------------------------------------------------------------
Mon Jul 14 07:36:25 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250710.d8e5d82:
* Check for transactional systems by actually checking ro status, not mount attributes
-------------------------------------------------------------------
Fri Jun 13 09:30:39 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250613.ee73e55:
* Fix uhmac installation
* Remove edition downgrade
* Update Cargo.lock
-------------------------------------------------------------------
Thu May 29 10:34:18 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>
- Update to version 1+git20250529.307d6ff:
* Remove noarch for main package
* Copy measure-pcr-prediction if missing in ESP
* Compile and install uhmac
* Use uhmac instead of openssl for HMAC
* uhmac: add Rust tool for HMAC
* Re-enable riscv64 arch
* Support non-secure boot installations
* Rework removable media detection
* jeos-firstboot-enroll: fix typo in msgbox
* Measure GPT of the disk with ESP, not the disk with root
* jeos-firstboot-enroll: show final error message
-------------------------------------------------------------------
Mon May 05 12:49:05 UTC 2025 - Alberto Planas Dominguez <aplanas@suse.com>

View File

@@ -1,4 +1,4 @@
name: sdbootutil
version: 1+git20250505.f4890e9
mtime: 1746448769
commit: f4890e92b888e4021dbc704798f72dd66f8ac345
version: 1+git20260127.6240918
mtime: 1769526655
commit: 62409185d8e4c587839f07185f7af3cd7816ee52

View File

@@ -1,7 +1,7 @@
#
# spec file for package sdbootutil
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2026 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,19 @@
#
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
Name: sdbootutil
Version: 1+git20250505.f4890e9
Version: 1+git20260127.6240918
Release: 0
Summary: bootctl wrapper for BLS boot loaders
Summary: Bootctl wrapper for BLS boot loaders
License: MIT
URL: https://github.com/openSUSE/sdbootutil
Source: %{name}-%{version}.tar
Source1: vendor.tar.zst
Source2: config.toml
BuildRequires: cargo
BuildRequires: cargo-packaging
BuildRequires: libopenssl-devel
BuildRequires: systemd-rpm-macros
Requires: %{name}-dracut-measure-pcr
Requires: dialog
@@ -36,16 +42,14 @@ Requires: qrencode
Requires: sed
Requires: (%{name}-snapper if (snapper and btrfsprogs))
Requires: (%{name}-tukit if read-only-root-fs)
# While systemd-pcrlock is in experimental
Requires: systemd-experimental
# something needs to require it. Can be us.
Requires: tpm2.0-tools
# While bootctl is in udev
Requires: udev
# For bootctl and systemd-pcrlock
Requires: (udev >= 257.9 or systemd-experimental < 257.9)
Supplements: (grub2-x86_64-efi-bls and shim)
Supplements: (systemd-boot and shim)
BuildArch: noarch
ExclusiveArch: aarch64 x86_64
# Because uhmac it is not a noarch package
# BuildArch: noarch
ExclusiveArch: aarch64 %{arm} riscv64 x86_64
%{?systemd_requires}
%description
@@ -54,7 +58,7 @@ Implements also the life cycle of a full disk encryption installation,
based on systemd.
%package snapper
Summary: plugin script for snapper
Summary: Plugin script for snapper
Requires: %{name} = %{version}
Requires: btrfsprogs
Requires: snapper
@@ -64,7 +68,7 @@ BuildArch: noarch
Plugin scripts for snapper to handle BLS config files
%package tukit
Summary: plugin script for tukit
Summary: Plugin script for tukit
Requires: %{name} = %{version}
Requires: tukit
BuildArch: noarch
@@ -126,13 +130,26 @@ BuildArch: noarch
Dracut module from sdbootutil to measure PCR 15 in non-UKIs systems
%prep
%setup -q
%autosetup -a1 -p1
mv vendor uhmac
cd uhmac
mkdir .cargo
install -D -m 644 %{SOURCE2} .cargo/config.toml
%build
cd uhmac
%{cargo_build}
%install
install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name}
# Install uhmac binary
pushd uhmac
%{cargo_install}
install -D -m 755 %{buildroot}%{_bindir}/uhmac %{buildroot}%{_libexecdir}/%{name}/uhmac
rm %{buildroot}%{_bindir}/uhmac
popd
# Update prediction service
install -D -m 644 %{name}-update-predictions.service \
%{buildroot}%{_unitdir}/%{name}-update-predictions.service
@@ -148,15 +165,22 @@ install -D -m 644 jeos-firstboot-enroll %{buildroot}%{_datadir}/jeos-firstboot/m
# Snapper
install -D -m 755 10-%{name}.snapper %{buildroot}%{_prefix}/lib/snapper/plugins/10-%{name}.snapper
install -D -m 644 snapper-override.conf \
%{buildroot}%{_prefix}/lib/systemd/system/snapperd.service.d/sdbootutil-override.conf
for service in backup boot cleanup timeline; do
install -D -m 644 snapper-override.conf \
%{buildroot}%{_prefix}/lib/systemd/system/snapper-"$service".service.d/sdbootutil-override.conf
done
# Tukit
install -D -m 755 10-%{name}.tukit %{buildroot}%{_prefix}/lib/tukit/plugins/10-%{name}.tukit
install -D -m 644 10-%{name}.tukit.conf %{buildroot}%{_prefix}%{_sysconfdir}/tukit.conf.d/10-%{name}.conf
# kernel-install
install -D -m 755 50-%{name}.install %{buildroot}%{_prefix}/lib/kernel/install.d/50-%{name}.install
# Bash completions
install -D -m 755 completions/bash_sdbootutil %{buildroot}%{_datadir}/bash-completion/completions/sdbootutil
install -D -m 644 completions/bash_sdbootutil %{buildroot}%{_datadir}/bash-completion/completions/sdbootutil
# Dracut module
install -D -m 755 module-setup.sh %{buildroot}%{_prefix}/lib/dracut/modules.d/50measure-pcr/module-setup.sh
@@ -164,11 +188,15 @@ install -D -m 755 measure-pcr-generator.sh %{buildroot}%{_prefix}/lib/dracut/mod
install -D -m 755 measure-pcr-validator.sh %{buildroot}%{_prefix}/lib/dracut/modules.d/50measure-pcr/measure-pcr-validator.sh
install -D -m 644 measure-pcr-validator.service %{buildroot}/%{_prefix}/lib/dracut/modules.d/50measure-pcr/measure-pcr-validator.service
install -d -m 700 %{buildroot}%{_sharedstatedir}/%{name}
# tmpfiles
install -D -m 755 kernel-install-%{name}.conf \
%{buildroot}%{_prefix}/lib/tmpfiles.d/kernel-install-%{name}.conf
install -Dpm 0644 %{name}.conf %{buildroot}%{_tmpfilesdir}/%{name}.conf
install -Dpm 0644 kernel-install-%{name}.conf %{buildroot}%{_tmpfilesdir}/kernel-install-%{name}.conf
# tmpfiles_create macro is a noop, and the directories in /var/lib
# will be present in the next reboot. The problem is that when the
# package is installed by YaST / Agama, this directory needs to be
# present, as sdbootutil is called for enrollment
install -d -m 700 %{buildroot}%{_sharedstatedir}/%{name}
%transfiletriggerin -- %{_prefix}/lib/systemd/boot/efi %{_datadir}/grub2/%{_build_arch}-efi %{_datadir}/efi/%{_build_arch}
cat > /dev/null || :
@@ -196,6 +224,7 @@ fi
%post
%service_add_post %{name}-update-predictions.service
%tmpfiles_create %{name}.conf
%preun enroll
%service_del_preun %{name}-enroll.service
@@ -209,7 +238,7 @@ fi
%post enroll
%service_add_post %{name}-enroll.service
%posttrans kernel-install
%post kernel-install
%tmpfiles_create kernel-install-%{name}.conf
%post dracut-measure-pcr
@@ -223,25 +252,39 @@ fi
%files
%license LICENSE
%dir %{_sharedstatedir}/%{name}
%{_bindir}/%{name}
%{_unitdir}/%{name}-update-predictions.service
%{_tmpfilesdir}/%{name}.conf
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/uhmac
%files snapper
%dir %{_prefix}/lib/snapper
%dir %{_prefix}/lib/snapper/plugins
%{_prefix}/lib/snapper/plugins/*
%dir %{_unitdir}/snapperd.service.d
%{_unitdir}/snapperd.service.d/sdbootutil-override.conf
%dir %{_unitdir}/snapper-backup.service.d
%{_unitdir}/snapper-backup.service.d/sdbootutil-override.conf
%dir %{_unitdir}/snapper-boot.service.d
%{_unitdir}/snapper-boot.service.d/sdbootutil-override.conf
%dir %{_unitdir}/snapper-cleanup.service.d
%{_unitdir}/snapper-cleanup.service.d/sdbootutil-override.conf
%dir %{_unitdir}/snapper-timeline.service.d
%{_unitdir}/snapper-timeline.service.d/sdbootutil-override.conf
%files tukit
%dir %{_prefix}/lib/tukit
%dir %{_prefix}/lib/tukit/plugins
%{_prefix}/lib/tukit/plugins/*
%dir %{_prefix}%{_sysconfdir}/tukit.conf.d
%{_prefix}%{_sysconfdir}/tukit.conf.d/*
%files kernel-install
%dir %{_prefix}/lib/kernel
%dir %{_prefix}/lib/kernel/install.d
%{_prefix}/lib/kernel/install.d/*
%{_prefix}/lib/tmpfiles.d/kernel-install-%{name}.conf
%{_tmpfilesdir}/kernel-install-%{name}.conf
%files enroll
%{_bindir}/%{name}-enroll

BIN
vendor.tar.zst LFS Normal file

Binary file not shown.