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

Always attempt installation of kernel, regardless of being installed

The prior method was very black or white, in which we would either install
a kernel, or continue...

7e0dc0ebccdeafc691e13d19af42170d43dede47 authored almost 8 years ago by Ikey Doherty <[email protected]>
bootman: Don't hardcode os-name and vendor-prefix values

The vendor prefix options is now taken from a configure time option, which
ensures that it remai...

5f544c3f5b7eb9337c857b7bac0da9bb8116254b authored almost 8 years ago by Ikey Doherty <[email protected]>
Add support for parsing os-release files

Instead of hard-coding the OS ID into clr-boot-manager at build time,
we'll be able to use the s...

ea65f329b85257c78cd8905cf2827b82772a2008 authored almost 8 years ago by Ikey Doherty <[email protected]>
bootman: Append kernel cmdline from globally defined kernel cmdline file

If the global cmdline exists, as defined by the cascade policy, we then
append this cmdline to t...

6652bf48ed1b313dc73ce5aacddbad8cd1f6fbc0 authored almost 8 years ago by Ikey Doherty <[email protected]>
lib: Add a new cmdline parser

To make it easier to manipulate the cmdline that is emitted into the
per-kernel boot entries, we...

6add44b10e1a7c9168fcc40f039891fca1a39822 authored almost 8 years ago by Ikey Doherty <[email protected]>
tests/harness: Prove that os-release is used

To keep an eye on things, we ensure that os-release is always used, even
within our own playgrou...

d159706cc05750965e10ffa9f72a461752d73e4d authored almost 8 years ago by Ikey Doherty <[email protected]>
Release 1.1.0 (moved to semver)

4d0e5a96b40b062972bf3ce577592fdf3d562d7e authored about 8 years ago by William Douglas <[email protected]>
Incorporate the nica test suite

Much of our low coverage rate can be attributed to using an imported version
of libnica, without...

ff9c42e47ebfe33e6370ead93abd67b06ad2bc37 authored about 8 years ago by Ikey Doherty <[email protected]>
bootman: Fix typos encountered with misspell tool

Signed-off-by: Ikey Doherty <[email protected]>

f2d1a7f7d969198adfaf3e1414155e4991f2c08f authored about 8 years ago by Ikey Doherty <[email protected]>
nica: Sync with the latest upstream nica changes

These correct various issues encountered from warnings and reduce the issue
count for the codeba...

febfe3c057c94263cead41f35c732a9cda43c0c5 authored about 8 years ago by Ikey Doherty <[email protected]>
update_format.sh: Also look for typos in the codebase

This allows syncing recent Nica changes into the codebase as typos were
found after the last syn...

3927dd99ee2c4a3d11e4154a88262de63d00f70f authored about 8 years ago by Ikey Doherty <[email protected]>
Ensure we are very explicit with our intention in using asprintf

It's currently ambiguous and unreliable what we truly mean with the
negated test for asprintf. P...

6994376881f10dd81f866f694e20aaf8a33ae27d authored about 8 years ago by Ikey Doherty <[email protected]>
syslinux: Fix some potential memory access issues

Here we simplify the use of default_text by only using it if it is actually
set, otherwise defau...

58d0281c1ce3b61ad99acc05d213fb8b1380247d authored about 8 years ago by Ikey Doherty <[email protected]>
tests: Add complete suite for cbm_files_match

This is just part of improving coverage within clr-boot-manager, and is
a critical requirement g...

70cc7cda3acd6ca9880f3dd854ecdc0d71e7ef65 authored about 8 years ago by Ikey Doherty <[email protected]>
travis: Remove unnecessary build dependency

The previous commits have removed all need for OpenSSL from the project,
this is just a useless ...

ad16443a69e4fe4c5ee4c894072883c7420f308f authored about 8 years ago by Ikey Doherty <[email protected]>
bootman: Completely remove the get_sha1sum function

As the cbm_files_match function now uses a mmap'd stream-byte comparison,
the requirement for ge...

f6a70a1e47f9abc723ae3d0106c8f8f745b1791f authored about 8 years ago by Ikey Doherty <[email protected]>
bootman: Compare stream buffer in cbm_files_match

Instead of computing the hash sum for both of the files, we simply open both
of the files, and t...

4cae6d423522c03d860149c3ec8a5c0a5a309e84 authored about 8 years ago by Ikey Doherty <[email protected]>
bootman: Add RAII based CbmMappedFile

This simplifies the various paths used when dealing with an mmap()'d file,
including opening it,...

dae45fb5292239beea728a03a27ca1ed4c9b1617 authored about 8 years ago by Ikey Doherty <[email protected]>
Integrate coveralls.io into README, this number needs to improve

Signed-off-by: Ikey Doherty <[email protected]>

145055234534a506940d60bde4cfe086c79d19bb authored about 8 years ago by Ikey Doherty <[email protected]>
travis: Re-enable clang-format + llvm repos

Signed-off-by: Ikey Doherty <[email protected]>

19829b2f5d62d9f8f137d2067704ef8c3b133564 authored about 8 years ago by Ikey Doherty <[email protected]>
Merge pull request #21 from sofar/patch-1

Ignore leaks in sockets.

245141d9e3c7f153fe0f4c4451bfc0e8023a1e0b authored about 8 years ago by Ikey Doherty <[email protected]>
Ignore leaks in sockets.

The only sockets held are irrelevant for our file descriptor
leak check, which focuses on leaks...

e02efe4fa3adcb95a7d2f6a8e73619058da75da3 authored about 8 years ago by Auke Kok <[email protected]>
Make clang-format happy again

Signed-off-by: Ikey Doherty <[email protected]>

6a819747c2d29eaa64b13491b614331af4692a8a authored over 8 years ago by Ikey Doherty <[email protected]>
Fixed 3 memory leaks

d9839933acd3d1712e7bc9d63dba3426a84e663c authored over 8 years ago by Daniel Schürmann <[email protected]>
added tests for get and set timeout

65cc692934ae5ca203b6a5a17104fde2296fef9a authored over 8 years ago by Daniel Schürmann <[email protected]>
Bump release to 1.0

Signed-off-by: Ikey Doherty <[email protected]>

3b4ada3f1dc5898ce37d3851c4a8fe9fa609baef authored over 8 years ago by Ikey Doherty <[email protected]>
bootman: int16 is not for mortals, use int, let the compiler decide

Signed-off-by: Ikey Doherty <[email protected]>

21e0468f5ea3956cd40d148565f108ab1bb59509 authored over 8 years ago by Ikey Doherty <[email protected]>
bootman: Slightly relax constraints on relno parsing

This allows the case in which the release field also contains letters, commonly
seen is 'a' as t...

2ef8b6efd7b342914f265e4d975585e5e1a9779c authored over 8 years ago by Ikey Doherty <[email protected]>
bootman: Add fallback kernel detection for broken versions

In some cases we may find that uname doesn't quite match the version number,
but all other field...

d25dc0db15546c2c5f3eb5ab157e1267e60bb43f authored over 8 years ago by Ikey Doherty <[email protected]>
bootman: In the absence of a valid running kernel, fallback to uname

We'll now attempt to use the type detected in uname via the SystemKernel
as our new default, if ...

4a039c487a2f5307f8bab47d91723a70fc7b5f12 authored over 8 years ago by Ikey Doherty <[email protected]>
update: Allow upgrades in the absence of a known, running kernel

This ensures that in the case of errors, where the running kernel cannot be
reliably determined,...

c3038b520dd9a60bd73bd6fb7c35a637c4da472c authored over 8 years ago by Ikey Doherty <[email protected]>
man: Document the environment variable CBM_DEBUG

This newly exposed option should be made apparent to integrators and users
alike so that they ar...

282e9433ed346ff4f1a8811926da50bfd4a8a35d authored over 8 years ago by Ikey Doherty <[email protected]>
Remove excessively spammy 64-bit UEFI checks

The logging here is entirely unnecessary right now, as it's currently impossible
to run into a s...

0e67e842be634e3853fae650f83e4e865b45e941 authored over 8 years ago by Ikey Doherty <[email protected]>
bootloader: UUID field is mandatory

In the past we enabled workarounds for undiscovered UUIDs for the test suites
to correctly funct...

63e07286a620e5f7e7711245fba571dff6487c4a authored over 8 years ago by Ikey Doherty <[email protected]>
bootman: Don't double-probe our prefix

Currently we're attempting to _always_ probe "/", and then potentially later
we update to a give...

50f462a349f0dd83c727d9bfca52fb36d7e9248a authored over 8 years ago by Ikey Doherty <[email protected]>
Add many log statements in order to facilitate real world debugging

Currently it is very difficult to get an internal glimpse at the routes that
CBM has taken durin...

c5e999b4edf55085012520af53ecba94d3a0fb22 authored over 8 years ago by Ikey Doherty <[email protected]>
Ensure all test suites enforce verbose logging

We want to get as much information as we can during development of CBM, so
with this in mind, we...

d54356da4e343aa4ad1543d3e47e1e0f341a7958 authored over 8 years ago by Ikey Doherty <[email protected]>
Switch all fatal/error print statements to the built in log mechanism

From now on all errors, warnings and fatal messages, should all go through
the standard log mech...

32f61a1121c6bac74736a95080bcf778eed4c14c authored over 8 years ago by Ikey Doherty <[email protected]>
Add the new logging functionality

These new logging functions will be used in an upcoming commit as the sole
form of stderr messag...

55b284881d80dd86e6a7ba7f02b57f3bc45c77a6 authored over 8 years ago by Ikey Doherty <[email protected]>
Release 0.9

ec8c6841652df69e70ac372adf5798620b461276 authored over 8 years ago by William Douglas <[email protected]>
Use the target's extlinux

Instead of using whatever extlinux is in the path, explicitly only use
the target extlinux comma...

0c3c517c3be50a9900ef92c8e43d49e6537557f4 authored over 8 years ago by William Douglas <[email protected]>
Fix compiler warnings with conversion in rest of codebase

Signed-off-by: Ikey Doherty <[email protected]>

163dd392397287791eb92d8e60459b75d1eab471 authored over 8 years ago by Ikey Doherty <[email protected]>
Sync nica to fix nica-specific compiler warnings

Signed-off-by: Ikey Doherty <[email protected]>

16f807674b02f00e25187af53ae02aba4a69f27d authored over 8 years ago by Ikey Doherty <[email protected]>
Fix broken cflag

Signed-off-by: Ikey Doherty <[email protected]>

1e3afb3a286e3f431f0a8fa7da223f260f828a5c authored over 8 years ago by Ikey Doherty <[email protected]>
Remove invalid comments

Signed-off-by: Ikey Doherty <[email protected]>

6a9c7349c986926bbdfec8da3822931603a9fb02 authored over 8 years ago by Ikey Doherty <[email protected]>
Release 0.8

999a4737731b11bfd82555e66e922e26cf0868be authored over 8 years ago by William Douglas <[email protected]>
Cleanup old kernels when dealing with legacy

Image mode doesn't provide cleanup routines so go to the perform section
instead.

50715b371acc4db813e69824b21b4dcaccf55afe authored over 8 years ago by William Douglas <[email protected]>
Release 0.7

1f0a85007d69e29df046f3d8a4261e632adc24cc authored over 8 years ago by William Douglas <[email protected]>
Fixups for clang format

672c6ef4b8ab4ee744f0d58a6ee8901a04b3a238 authored over 8 years ago by William Douglas <[email protected]>
Don't try and mount /boot for legacy bios

For now all Clear images using legacy are created with one partition and
so detecting/mounting i...

30dd3b72ba1bdc492fcbf19d057ba5948bdd91cf authored over 8 years ago by William Douglas <[email protected]>
Release 0.6

6fef4b519e2e270adec9fd0928d9b786d7c19b31 authored over 8 years ago by William Douglas <[email protected]>
Handle installation of syslinux configs

Unlike other bootloader implementations so far, syslinux has a single
config for all kernels. To...

c1cfa558a76b0d24e2b0f20c0a9e89eafa96a642 authored over 8 years ago by William Douglas <[email protected]>
Always update/install

Detection for when to write the bootloader and VBR entry isn't helpful
since detecting changes t...

44ffb3ef02a9adaa31371caab59e688724b35176 authored over 8 years ago by William Douglas <[email protected]>
Finish bootloader install/update

53f099efd84784fc5e90d26c15c0363f3ed939f2 authored over 8 years ago by William Douglas <[email protected]>
Start filling out syslinux implementation.

Add definitions for init, destroy and need update check functions.

7ffb38d81ae280ae027b5dbfa2bf1f0d8f6121f5 authored over 8 years ago by William Douglas <[email protected]>
Centralise use of the boot device (issue #13)

Signed-off-by: Ikey Doherty <[email protected]>

2ee5f1f54d5c1b9bd0a3cd15fc88237613a8276e authored over 8 years ago by Ikey Doherty <[email protected]>
No, this should REALLY never happen

Signed-off-by: Ikey Doherty <[email protected]>

8e3e0726e6c2ee2d8fb0c279593fd23cc5baf61a authored over 8 years ago by Ikey Doherty <[email protected]>
Split out the prefix analysis (issue #13)

Signed-off-by: Ikey Doherty <[email protected]>

6fed1fe24b667436368bfc53c0f191acf35b41c5 authored over 8 years ago by Ikey Doherty <[email protected]>
Add a forcible --image operation mode

Signed-off-by: Ikey Doherty <[email protected]>

71773956c36d48820a818eb2e85afeb1e8b7f9fb authored over 8 years ago by Ikey Doherty <[email protected]>
Only ever initialise bootloader in set_prefix, facilitate syslinux loading

Signed-off-by: Ikey Doherty <[email protected]>

a4fcab2ada0b1ee5fe9bfea6622a95d6fc72f97e authored over 8 years ago by Ikey Doherty <[email protected]>
0 partitions is also invalid

Signed-off-by: Ikey Doherty <[email protected]>

d2d4cf7d5d624d2b77ee970043bb359db8a8807e authored over 8 years ago by Ikey Doherty <[email protected]>
Update name of legacy boot flag for documentation purposes

Signed-off-by: Ikey Doherty <[email protected]>

cbcb6dca9d030c5e2cff8a8f71b3972aad1b3bb0 authored over 8 years ago by Ikey Doherty <[email protected]>
Expose function for getting the parent disk (needed for syslinux install)

Signed-off-by: Ikey Doherty <[email protected]>

ab76f0efd80139a55b2246de21d8a47a83dcd6fc authored over 8 years ago by Ikey Doherty <[email protected]>
Rename function for accuracy

Signed-off-by: Ikey Doherty <[email protected]>

f2ed6a76fb9817595d3033ca8a079f6aebb4e4cf authored over 8 years ago by Ikey Doherty <[email protected]>
Make GPT requirement crystal clear

Signed-off-by: Ikey Doherty <[email protected]>

c6138d03374c636ace679d272db041b6d237d175 authored over 8 years ago by Ikey Doherty <[email protected]>
Implement the get_legacy_boot_device function

In short, we enumerate partitions on the same device as the given mount
point, in order to find ...

94c4cd0a03c2a9b3b1f3d334b098f6c756b879fa authored over 8 years ago by Ikey Doherty <[email protected]>
Begin deduplication to enable syslinux

The kernel blob management is a standard mechanism employed by CBM itself,
thus the bootloader i...

e2a791e4ff422f79d98b2803ce1cad6dce6a00fb authored over 8 years ago by Ikey Doherty <[email protected]>
Fix typo

Signed-off-by: Ikey Doherty <[email protected]>

aa2caef4ceb24a9d921184bf242b44e8841447e8 authored over 8 years ago by Ikey Doherty <[email protected]>
Use consistent unused macro for grep purposes

Signed-off-by: Ikey Doherty <[email protected]>

03cb4872af59e76b17954819272087d410f700ef authored over 8 years ago by Ikey Doherty <[email protected]>
Add the skeleton for the Syslinux bootloader

Signed-off-by: Ikey Doherty <[email protected]>

b35db73d4fe4df27ea3ad0c2789a2d359f73e81c authored over 8 years ago by Ikey Doherty <[email protected]>
Nuke the template code, not going to use it, taking too long to perfect

Signed-off-by: Ikey Doherty <[email protected]>

2d97cdc3586a101ecfe6e0eeb15be0c631788b91 authored over 8 years ago by Ikey Doherty <[email protected]>
Add the basic child test

Signed-off-by: Ikey Doherty <[email protected]>

a57b4be206008e42e478a77e6bdc3bba55c6cafb authored over 8 years ago by Ikey Doherty <[email protected]>
Include list stringification test

Signed-off-by: Ikey Doherty <[email protected]>

b16339575a87ee72b6902afbc19635ee7c58a22f authored over 8 years ago by Ikey Doherty <[email protected]>
Use asserts

Signed-off-by: Ikey Doherty <[email protected]>

dcaf76dfa37b8f419335a3147e1b6fc5e712a4de authored over 8 years ago by Ikey Doherty <[email protected]>
Add simple list testing

Signed-off-by: Ikey Doherty <[email protected]>

ab06832db650cb54c0b6289af20fda5962d9227a authored over 8 years ago by Ikey Doherty <[email protected]>
Add stringified boolean

Signed-off-by: Ikey Doherty <[email protected]>

d2d7e369982839678e16ac7ad63035d35819db42 authored over 8 years ago by Ikey Doherty <[email protected]>
Add further template testing

Signed-off-by: Ikey Doherty <[email protected]>

eefc7985af1823948ba6bbfdcb746bbd40ea7336 authored over 8 years ago by Ikey Doherty <[email protected]>
tests: Flesh out the template testing with simple key strategy

Signed-off-by: Ikey Doherty <[email protected]>

6cfb47a6cdb20cd82214bc7de4762bc3d5797cf1 authored over 8 years ago by Ikey Doherty <[email protected]>
nica: Sync with upstream commit a8b1f1ee423f386d1ff676d4173ebd83a64656de

Signed-off-by: Ikey Doherty <[email protected]>

c1a5219e3a5b2883f70642fcfc277a57d2190810 authored over 8 years ago by Ikey Doherty <[email protected]>
Add support to render into a string

Signed-off-by: Ikey Doherty <[email protected]>

8e97e93b5d420020d632206f9fcb8bda3868d7b9 authored over 8 years ago by Ikey Doherty <[email protected]>
Fix NULL context issues

Signed-off-by: Ikey Doherty <[email protected]>

4272f45f6cc4ea54de8361d376dee3e78d1cfe27 authored over 8 years ago by Ikey Doherty <[email protected]>
Add simple tests

Signed-off-by: Ikey Doherty <[email protected]>

d25d397d3e76538d51d71c1c3ec137822157948f authored over 8 years ago by Ikey Doherty <[email protected]>
Add the skeleton MstTemplate test

Signed-off-by: Ikey Doherty <[email protected]>

0c1fed9e26daaa10ffe2ce7c03cc528b0dfdca67 authored over 8 years ago by Ikey Doherty <[email protected]>
Move util under the lib namespace

Signed-off-by: Ikey Doherty <[email protected]>

d0220b6716f2951648bbea3ff4fef54e29951634 authored over 8 years ago by Ikey Doherty <[email protected]>
Use the inline macro

Signed-off-by: Ikey Doherty <[email protected]>

c448b2e23401f9069a11e303d2049b589b6db64d authored over 8 years ago by Ikey Doherty <[email protected]>
Incoporate MstTemplate from cve-check-tool branch 2 for templating

Signed-off-by: Ikey Doherty <[email protected]>

4a17cbe6ff534507240093470685f8d85386b600 authored over 8 years ago by Ikey Doherty <[email protected]>
Bump for new release

08f44cc694a4e5481c94dc58c1e34710d7b7f766 authored over 8 years ago by William Douglas <[email protected]>
update: Fix critical bug in image creation

Signed-off-by: Ikey Doherty <[email protected]>

dba922f23fd9f895d73f502f5f15a49006ccfe8e authored over 8 years ago by Ikey Doherty <[email protected]>
bootman: Clean up the destroy/free code

Signed-off-by: Ikey Doherty <[email protected]>

da5dc32241085f5c62e960d399e053a440137214 authored over 8 years ago by Ikey Doherty <[email protected]>
nica: Sync with upstream for streq changes

Signed-off-by: Ikey Doherty <[email protected]>

9749c8d0f41e02333e04e87def9b4c7184623c29 authored over 8 years ago by Ikey Doherty <[email protected]>
travis: Only build master

Signed-off-by: Ikey Doherty <[email protected]>

f488327e2572f2dc090518bd963ad20097d968f2 authored over 8 years ago by Ikey Doherty <[email protected]>
Fix typo

Signed-off-by: Ikey Doherty <[email protected]>

97be73b3ba53f06ccfd616d49632dd1fda1d2e37 authored over 8 years ago by Ikey Doherty <[email protected]>
Add build dependencies for travis

Signed-off-by: Ikey Doherty <[email protected]>

b7fbdf293a54e9489aa20cd81c346c79a1855202 authored over 8 years ago by Ikey Doherty <[email protected]>
Bump git version to 0.4

Signed-off-by: Ikey Doherty <[email protected]>

b8133a0dcb3515b74a5fb3f242f7da94f9168b6b authored over 8 years ago by Ikey Doherty <[email protected]>
Add travis again

Signed-off-by: Ikey Doherty <[email protected]>

2c3c82d6f06999f3ff8bd0acc414ce690a63740e authored over 8 years ago by Ikey Doherty <[email protected]>
Ensure we fail on bad CLI options

Signed-off-by: Ikey Doherty <[email protected]>

b891ffe388243f50dc93a3f4b2249c07156a8b15 authored over 8 years ago by Ikey Doherty <[email protected]>
Fix linking order

Signed-off-by: Ikey Doherty <[email protected]>

38cbcc56417bf50e3f30536554952e82bb51c1da authored over 8 years ago by Ikey Doherty <[email protected]>
Switch the CLI op to now use the library implementation of update

Signed-off-by: Ikey Doherty <[email protected]>

3fce4814e4f5b72d67e68c7fb6a29bdee68c7294 authored over 8 years ago by Ikey Doherty <[email protected]>
Add a test for retention of multiple types and states (complex)

Signed-off-by: Ikey Doherty <[email protected]>

929e5d8df26c47841fdc27eb203efd8ccd4a13b5 authored over 8 years ago by Ikey Doherty <[email protected]>
Organise units.

Signed-off-by: Ikey Doherty <[email protected]>

253ac91327739d3adb612e7bb173992f9dbc421a authored over 8 years ago by Ikey Doherty <[email protected]>