Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/getsolus/clr-boot-manager

Kernel & Boot Loader Management
https://github.com/getsolus/clr-boot-manager

Merge pull request #1 from getsolus/fix-grub-on-btrfs-subvolumes

grub2: Fix loading kernel and initramfs on BTRFS subvolumes

8c3d96baab4a6e7cf87500822cc5ce3efc31403b authored about 1 year ago by Rune Morling <[email protected]>
grub2: Fix loading kernel and initramfs on BTRFS subvolumes

Signed-off-by: Evan Maddock <[email protected]>

92ebb5328431275928260cf4a35fcb562f2bc8cf authored about 1 year ago by Evan Maddock <[email protected]>
Merge remote-tracking branches 'origin/solus-patches', 'origin/fix-luks-on-lvm', 'origin/fix-nonempty-boot', 'origin/add-mount-boot', 'origin/extend-btrfs-support' and 'origin/get-timeout-requires-root' into solus

755c2a08212cc385ed72960b93449d0cd567ec1a authored over 1 year ago by Silke Hofstra <[email protected]>
Require root for `get-timeout`

When running `get-timeout` without root, it will fail with an error ('failed to create a new lib...

f85e0fbcb3b756f83356effce219b80547e2d0d3 authored over 1 year ago by Silke Hofstra <[email protected]>
shim-systemd: Support for shim's fallback efi loader

In case of efivars not being writable/buggy efi firmware we can install
shim and fallback to the...

e3452056efb2e6a5df517165db01d0714982a38e authored over 1 year ago by Joey Riches <[email protected]>
shim-systemd: Don't hardcode vendor name

16dd87d1b7a96bf3c99b686255a332dbdb2032b8 authored over 1 year ago by Joey Riches <[email protected]>
shim-systemd: Don't exit if we can't parse efivars

We can still install to the ESP and make use of shim's fallback to create
a dedicated UEFI entry

7a7fbadedf53b7368f687f1de3bb451bf21cde58 authored over 1 year ago by Joey Riches <[email protected]>
shim-systemd: Copy over mok management as well (mmx64.efi)

Mok Management is needed to enroll hashes of binaries not signed or
to enroll custom certs.

2b21fea439ec4961eb598e673a8b275a66aa7c21 authored over 1 year ago by Joey Riches <[email protected]>
shim-systemd: Copy the vendor's MOK to the ESP

When using a presigned shim we'll need to copy the vendor's cert to the ESP for
the user to manu...

8409351d77f61e1c518a43f11d53b32f4467a556 authored over 1 year ago by Joey Riches <[email protected]>
Update paths for presigned shim

The presigned shim from Fedora is hardcoded to boot grubx64.efi,
masquerade systemd-boot as such.

e27c9e67efb9607d4330438deb458d4624d5104c authored over 1 year ago by Joey Riches <[email protected]>
Add service for mounting /boot using CBM

36698ac1e85963db1b241a56fcff88a461f2c415 authored over 1 year ago by Silke Hofstra <[email protected]>
Rename and expose detect_and_mount_boot

4f427fb8a1050aab50328f1cb6f1d6bdaf747003 authored over 1 year ago by Silke Hofstra <[email protected]>
Add `mount-boot` command.

The `mount-boot` command mounts the boot partitions.
This is useful for when the user, any syste...

affae84cdd9dd7c0b515b5dfb4ef1064c7956309 authored over 1 year ago by Silke Hofstra <[email protected]>
Update CI config with libbtrfsutil-dev

1512f829e4b1018f855d63a0becebda9d62b6c36 authored over 1 year ago by Silke Hofstra <[email protected]>
Add support for Btrfs subvolumes

b8ab1905501c4868e420867c4b0ed39df2f50950 authored over 1 year ago by Silke Hofstra <[email protected]>
Correct release file

Signed-off-by: William Douglas <[email protected]>

9b57ae6c92b87084e9ea835b1de5cce7e83e94e3 authored almost 2 years ago by William Douglas <[email protected]>
v3.3.0 release

Signed-off-by: William Douglas <[email protected]>

f5209383716c173d6e55348279f7cad980cae829 authored almost 2 years ago by William Douglas <[email protected]>
Add remove-kernel command

In some cases users will want to remove kernels from their systems
outside an update workflow. T...

8276f49e43e52bc20e653b1d38689234758b6c40 authored almost 2 years ago by William Douglas <[email protected]>
Add release process document and update mkrelease.sh

Signed-off-by: William Douglas <[email protected]>

019f324d3f1497f3565db3829504c8f40b629234 authored about 2 years ago by William Douglas <[email protected]>
Version 3.2.12 release

Signed-off-by: William Douglas <[email protected]>

ce4c8dd912f43ff69cd5878a3f740e9b2855c71c authored about 2 years ago by William Douglas <[email protected]>
Use streq instead of strcmp

When checking whether we're trying to print an initrd directive for the
early microcode initrd a...

52d200c206738bbc847dd5082260dcfd2e0e0761 authored about 2 years ago by Brett T. Warden <[email protected]>
Use INITRD vars in manpage

Define and use INITRD_DIRECTORY and USER_INITRD_DIRECTORY in the man
page

453fc25f23db26bfd55dfba66af8f636f1128e97 authored about 2 years ago by Brett T. Warden <[email protected]>
Verify that user-provided microcode is loaded first

5db267426aaf2979b8a2cbe2bb15ba0b34ea6299 authored about 2 years ago by Brett T. Warden <[email protected]>
Verify that microcode initrd is first entry in UEFI config

cbe4f29a76db1030f36229a25edb1164cd8747dd authored about 2 years ago by Brett T. Warden <[email protected]>
Prevent segfault if no *-ucode.cpio exists

b15bc98f1e80124f7456b7f9d4a77dbaacb1f87d authored about 2 years ago by Brett T. Warden <[email protected]>
Refine matching for *-ucode.cpio

Make sure we only attempt to match at the end of the string, so we
don't accidentally fail if we...

329f0e96e865a38b93ad3943d28efa7e933836d1 authored about 2 years ago by Brett T. Warden <[email protected]>
Add documentation for early microcode initrd

c76515f9853061e22d4421338c999adc2015a43c authored about 2 years ago by Brett T. Warden <[email protected]>
Write early microcode initrd entry to bootloader config

Now that we identify microcode initrds for early loading, write the
entry for the one we've pick...

2a7dae23aeb348ff320a01604655461748b8829f authored about 2 years ago by Brett T. Warden <[email protected]>
Identify microcode initrds as candidates for early loading

Check the user- and system-owned initrd.d directories for potential
microcode initrds (*-ucode.c...

674d2f466957299053b2e5531a20374d15b4779e authored about 2 years ago by Brett T. Warden <[email protected]>
Quell warning about using an assignment in if clause

3be582d46467606e502e8b65c39ec93358b7449c authored about 2 years ago by Brett T. Warden <[email protected]>
Add early ucode priority support to grub2 and syslinux

0c6198fdf825ff81bf1eba32d0280de2607aa607 authored about 2 years ago by Brett T. Warden <[email protected]>
Rework filename matching for style change

Avoid warnings about using assigments in conditional by moving the
assigment clear out of the co...

ce08b2b375c4dfe8bbc3e12652c97135066781c9 authored about 2 years ago by Brett T. Warden <[email protected]>
Don't remove early microcode initrd from hashmap

We still have to print the initrd entry first, but need to leave it in
the hashmap because it ha...

91676a51bfaf2caf38fd49e66b572b1763fb3373 authored about 2 years ago by Brett T. Warden <[email protected]>
Version 3.2.11 release

Signed-off-by: William Douglas <[email protected]>

357f1e469a408c9384fae2798c240cf75b566896 authored over 2 years ago by William Douglas <[email protected]>
Add fallback if /proc/self/mounts root not fully resolved

In some cases (legacy in particular) /proc/self/mounts contains
/dev/root as the device the root...

be97af4d14f4ba97b7caa562b174e0a14d0b4929 authored over 2 years ago by William Douglas <[email protected]>
Fix missed initializers

When using autofree, pointers must be initialized to NULL otherwise
use of uninitialized data mi...

39897530205949aebf1ca97ebd3ac59d167b0218 authored over 2 years ago by William Douglas <[email protected]>
Merge pull request #246 from paulcarroty/patch-1

bring tests back to life

53ff798e13a7cf4067974880951d482617988d64 authored over 3 years ago by Arjan van de Ven <[email protected]>
bring tests back to life

8fc47f8d4eaae515188883e32c2f123bbdbeec84 authored over 3 years ago by Pavlo Rudy <[email protected]>
Merge pull request #238 from silkeh/add-btrfs-support

Add support for non-ext filesystems

d3f769f4943954edee97d1a5b6ca91b04422ffb2 authored over 3 years ago by Arjan van de Ven <[email protected]>
bootman: only do partitionless boot when the bootloader supports it

#174 restored support for partitionless /boot. However, this
introduced issues when (for whateve...

f7351723e1928e6e8793e79dede7ca4e139bac98 authored about 4 years ago by Silke Hofstra <[email protected]>
Fix LUKS glob order

193d8fce1e0f46a0bded23d8d37fc607200e2284 authored over 4 years ago by Silke Hofstra <[email protected]>
Add support for non-ext filesystems

Calling stat() on some filesystems, like Btrfs,
results in a dev_t with no relation to the backi...

74dd4636e493a8bc758bcbccca8616720bf577d9 authored over 4 years ago by Silke Hofstra <[email protected]>
OOM: add file and function name to OOM message

Signed-off-by: Leandro Dorileo <[email protected]>

ab762315b61ed88946cf517bd4aefe485a915bfe authored over 4 years ago by Leandro Dorileo <[email protected]>
syslinux/extlinux: add timeout support

Make sure we honor users timeout configuration propagating it to config file when
running update...

e969b2545c4b0d7419df85d8841601f84aea75eb authored over 4 years ago by Leandro Dorileo <[email protected]>
completions: Update bash and zsh completions

- Added `--image` and `--no-efi-update` flags
- Minor changes in zsh script.

e7f856a4282aeac49d1499cf55d507758fe67eb6 authored over 4 years ago by Lucius Hu <[email protected]>
v3.2.9 release

Signed-off-by: Leandro Dorileo <[email protected]>

b1141099b6955fe73f4b76756aea4429bcd0070c authored over 4 years ago by Leandro Dorileo <[email protected]>
probe: Add check for Software RAID root device

Software RAID does not see PARTUUID, so only use UUID.

Signed-off-by: Mark D Horn <mark.d.horn@...

453ecff9d7a328973652cb8b60327fb466da9dc8 authored over 4 years ago by Mark D Horn <[email protected]>
v3.2.8 release

Signed-off-by: Leandro Dorileo <[email protected]>

e5c4fad23297e5c9fc18a16bb80d24db739cb322 authored almost 5 years ago by Leandro Dorileo <[email protected]>
systemd compatibility

With recent systemd changes cbm use cases will break if we don't add ".conf" to the
loader.conf ...

4f0686abb1f71e9b677af4a2260b3e444d7345a7 authored almost 5 years ago by Leandro Dorileo <[email protected]>
v3.2.7 release

Signed-off-by: Leandro Dorileo <[email protected]>

7aedefbc5cd94f412a0b3e17178e3140bc92e980 authored almost 5 years ago by Leandro Dorileo <[email protected]>
extlinux/syslinux: fix set-kernel

Currently we can't set default kernel with extlinux/syslinux because we basically
the current im...

44a7a599c90b11bdd0fbf2495ca37ee209c1f3a1 authored almost 5 years ago by Leandro Dorileo <[email protected]>
extlinux/syslinux: unify implementation

The biggest difference between extlinux and syslinux from cbm point of view is the
bootloaders i...

82ea85da97422b16158173128407081a6fa35e5c authored almost 5 years ago by Leandro Dorileo <[email protected]>
syslinux/extlinux: implement get default kernel operation

This will affact the list-kernels command that for now with legacy bios mode will
not list the a...

8a412ee96d400371d751eaeabaa028a7b5d910b8 authored almost 5 years ago by Leandro Dorileo <[email protected]>
extlinux: mark boot partition as legacy bios bootable

Make sure extlinux is consistent with syslinux and mark the boot partition as legacy
bios bootab...

ba4fdd3440cdd0e2948c52e38d7bc498fff529ed authored almost 5 years ago by Leandro Dorileo <[email protected]>
mkrelease: put together all the required steps before release

Make our life easier, put together all the required steps before cutting a new
release instead o...

c57bb3414805e1bdad172e1d6b0121069587d845 authored almost 5 years ago by Leandro Dorileo <[email protected]>
v3.2.6 release

Signed-off-by: Leandro Dorileo <[email protected]>

42c2d4a0e0176c971f9c4aec76e78885221875d1 authored almost 5 years ago by Leandro Dorileo <[email protected]>
syslinux/extlinux: check if config file is empty

For some reason (may be a user manual intervention or some issue on previous
updates) the syslin...

2d9d985160cc1ff7754727c475fc86e65c328031 authored almost 5 years ago by Leandro Dorileo <[email protected]>
syslinux: remove mtools dependency

By using syslinux-nomtools we don't depend on mtools and reduce the footprint for
smaller images...

0f3c531ea851eba0b9045e49e77fdaf0026ef1fe authored almost 5 years ago by Leandro Dorileo <[email protected]>
Remove whitespace in README

72040c32dbd06d54b84fa9a25a435a4692f3e920 authored almost 5 years ago by Alexander Koskovich <[email protected]>
legacy boot

If we don't find the boot partition then we warn the user exit, currently we
segfault.

Signed-o...

c6c16030ff074ee75c3363f764e243f38d7f2da6 authored almost 5 years ago by Leandro Dorileo <[email protected]>
v3.2.5 release

Signed-off-by: Leandro Dorileo <[email protected]>

69469bc5230e6236ff1cb0ce6c0c47180a513881 authored almost 5 years ago by Leandro Dorileo <[email protected]>
fix regression introduced by 512323d

With the commit 512323d we started ignoring the --path flag therefore breaking image
mode use ca...

6385d454c1825aa0aab3fb5a438210abca2c032e authored almost 5 years ago by Leandro Dorileo <[email protected]>
get_boot_device: fix efi loader path matching

We've found some cases where the path to LoaderDevicePartUUID will have
some "virtual" entries c...

8f871471374ce80ff3133906e54b060fd9aab6bf authored almost 5 years ago by Leandro Dorileo <[email protected]>
v3.2.4 release

Signed-off-by: Leandro Dorileo <[email protected]>

4a5e109307a6da59d9b6d81c4945137ff3e5ba53 authored almost 5 years ago by Leandro Dorileo <[email protected]>
timeout/update: don't allocate/free manager twice

Avoid parsing flags, allocating BootManager twice when calling update
from time out command.

Si...

512323d975a587a4d07be422be8211b1adcb31dc authored almost 5 years ago by Leandro Dorileo <[email protected]>
Update issue templates

4c1e8f772a9f567000b98aa94007a36443a76692 authored almost 5 years ago by Leandro Dorileo <[email protected]>
grub2: make it optional

We would like to disable grub2 in scenarios/configurations where we
know we won't ever use/need ...

09d65ecc1aeede20a8ad568d218042642f84b960 authored almost 5 years ago by Leandro Dorileo <[email protected]>
v3.2.3 release

Signed-off-by: Leandro Dorileo <[email protected]>

d651b745cdafa8c00f6a377fecd6ed5249656baa authored almost 5 years ago by Leandro Dorileo <[email protected]>
man: add /etc/kernel/initrd.d documentation

We're missing man page documentation to the recent user initrd freestanding
file.

Signed-off-by...

4be250b8190446e89d9422a1f1cee88c5bd99136 authored almost 5 years ago by Leandro Dorileo <[email protected]>
remove travis configuration

We are running CI with github actions now, lets get rid of travis
configuration.

Signed-off-by:...

16871aba1c401c3d9ee6140a24e42914a35d2ccb authored almost 5 years ago by Leandro Dorileo <[email protected]>
update local docker continuous test runner

Signed-off-by: Leandro Dorileo <[email protected]>

5ee752d3b479a079c20c5ebbc28f05883a772d3d authored almost 5 years ago by Leandro Dorileo <[email protected]>
remove findstatic.pl

It's a copy of findstatic.pl from libnica, in the context of c-b-m
we're not using it at all.

S...

6077f66b0a20c67a96f8ee810a865c14347c1fc5 authored almost 5 years ago by Leandro Dorileo <[email protected]>
mv scripts to scripts directory

The scripts continous.sh and update_format.sh should live side-by-side
with the other scripts. A...

d35d26b35964792f873445f1ebbda4a7b0579d6e authored almost 5 years ago by Leandro Dorileo <[email protected]>
test suite: don't merge or copy cov file if empty

Some builds may not generate coverage.info, if that happens we don't
try to merge it.

Signed-of...

0581548e5fee7ce92df6f0aa2001dc09e227996c authored about 5 years ago by Leandro Dorileo <[email protected]>
v3.2.2 release

Signed-off-by: Leandro Dorileo <[email protected]>

696ee57b990c1032927e26473afd543b2cc632c6 authored about 5 years ago by Leandro Dorileo <[email protected]>
log: add check_*_continue

These utilities are meant to be used whenever a "continue" fits.

Signed-off-by: Leandro Dorileo...

9d40544ff0570ca42152c837b6b38a070ab3a17e authored about 5 years ago by Leandro Dorileo <[email protected]>
bootman: add user initrd configuration

With these changes the user may add custom initrd freestanding files
into /etc/kernel/initrd.d.
...

a67ce45cb3ad8eb591332f1ce0f0260e1243d0f3 authored about 5 years ago by Leandro Dorileo <[email protected]>
print source and target intrd on error

Signed-off-by: Leandro Dorileo <[email protected]>

f853bfd49b79266cac3a08af42de393d88593c18 authored about 5 years ago by Leandro Dorileo <[email protected]>
cli: add update_efi_vars configuration file support

The user can set a system-wide configuration to skip efi vars update.
With that the user can ins...

b21cbe91fa5078c2269384c6c72a35f9455c2d9b authored about 5 years ago by Leandro Dorileo <[email protected]>
cli: properly align help description

Makes sure we properly align flags and descriptions when flags are
larger than current ones.

Si...

f33bbe7f799357f40479da38d3ee7e4e293c72b7 authored about 5 years ago by Leandro Dorileo <[email protected]>
man: update man page to reflect new flags (-n,--no-efi-update)

Signed-off-by: Leandro Dorileo <[email protected]>

e6c6dfccc5299acf2e29db75a1afab7a43d3e96d authored about 5 years ago by Leandro Dorileo <[email protected]>
skip efi vars update when requested by user

This patch introduces a new flag (-n,--no-efi-update), with that flag
c-b-m will not touch efi v...

20a72f0736e4c8b93cb3cd85362f7c5e2081c7b7 authored about 5 years ago by Leandro Dorileo <[email protected]>
update valgrind suppressions

There are new issues introduced by check we might ignore for now.

Signed-off-by: Leandro Dorile...

3a3b49cebb1e8531e9fccc6111ee2ed34e0468a4 authored about 5 years ago by Leandro Dorileo <[email protected]>
github actions: split test executions

Split each test to its own execution, with that we can have a better
visualization of the build ...

92c883720ffb6f07629ec6270e5694150f86f09e authored about 5 years ago by Leandro Dorileo <[email protected]>
test: make test runner a bit more "flexible"

Added arguments to the script so we can select the test we want to
run, also make the coverage o...

838f6205d5aee9a770821a73aaab3fcfcccf4ed3 authored about 5 years ago by Leandro Dorileo <[email protected]>
v3.2.1 release

Signed-off-by: Leandro Dorileo <[email protected]>

4868945b21c5d5fda1c6ceff756987ad502ade3b authored about 5 years ago by Leandro Dorileo <[email protected]>
set-timeout: make sure to apply the changes

Currently when the user calls the set-timeout command that change
will only be applied after cal...

ff2c817c687fec5ce198bca375c45387f6d84449 authored about 5 years ago by Leandro Dorileo <[email protected]>
add pull_request event to actions

It seems that without pull_request event the pull request will not
get actions triggered.

Signe...

24e2ffd81c55bedf159398cf653034e7f830b078 authored about 5 years ago by Leandro Dorileo <[email protected]>
Add github actions workflow

Preparing to migrate from travis to github actions.

Signed-off-by: Leandro Dorileo <leandro.mac...

f48ea3d436ebea8c9aa0c4372104f25c45880e1d authored about 5 years ago by Leandro Dorileo <[email protected]>
cli: remove dead code

We could me things simpler and have a single condition.

Signed-off-by: Leandro Dorileo <leandro...

1d2303ab0448383c4222a62d3b3f2e81e75b39b4 authored about 5 years ago by Leandro Dorileo <[email protected]>
cli: add flags to the usage output

Add usage info wherever the flags -p and -i are relevant.

Signed-off-by: Leandro Dorileo <leand...

dd2e383b7a0092f62e603393136d042a82aa4be8 authored about 5 years ago by Leandro Dorileo <[email protected]>
readme: add filesystem support table

8de7d135397d59e1e3925b6f9a0dd1b78cf4ec4b authored about 5 years ago by Leandro Dorileo <[email protected]>
efi: add a entry_label argument

With that each vendor can create a more meaningful uefi menu entry if provided on
build time.

S...

c4e4903b4623682b0c2914a7eb54aef9ef6b63c9 authored about 5 years ago by Leandro Dorileo <[email protected]>
bootman: deallocate boot device strings

Either boot_device or legacy_boot needs to be maintained, thus
the unused one should be properly...

c7ef26a2ff2db667f47beb2bfec14419d3d6bab4 authored over 5 years ago by Anselmo L. S. Melo <[email protected]>
v3.2.0 release

cdbf7560735d93d0b6bd980b92f2ef625edebe66 authored over 5 years ago by William Douglas <[email protected]>
extlinux: fix extlinux_cmd on partitionless /boot - native_mode

The patch simplifies the extlinux_cmd to work both on image_mode
and native_mode, with /boot par...

ef65b290de968e117d5d03cc87b2c014e784b06a authored over 5 years ago by Leandro Dorileo <[email protected]>
bootman: fix boot directory for "partitionless boot" - native_mode

When running into a system with a partition table where /boot hasn't
its own partition and runni...

001623a697a5d9877fba4911a7bc5b342061e079 authored over 5 years ago by Leandro Dorileo <[email protected]>
bootman: improve filesystem detection

Improve the internal filesystem detection, with these changes we
can reuse this code elsewhere a...

486486e19abcbf3c9d49369ab056bafa00a94cf8 authored over 5 years ago by Leandro Dorileo <[email protected]>
bootman: fix boot directory for "partitionless boot" - image_mode

When installing into a system with a partition table where /boot hasn't
its own partition - the ...

b5e75c3c6c0f3e0dd366509f0310e4c2232101ca authored over 5 years ago by Leandro Dorileo <[email protected]>
extlinux: rename config file

extlinux also looks up syslinux.cfg, we're wrongly assuming extlinux
will try to use extlinux.cf...

340d16eca55a0d9b2099fd56e98e8e06ddd42f97 authored over 5 years ago by Leandro Dorileo <[email protected]>