Jan Janssen [Fri, 23 Sep 2022 08:07:25 +0000 (10:07 +0200)]
fuzz: Add fuzzer for some efi string functions
Jan Janssen [Fri, 23 Sep 2022 07:54:03 +0000 (09:54 +0200)]
fuzz: Introduce DO_NOT_OPTIMIZE
The compiler may decide computations like these are not doing anything
and decide to optimize them away. This would defeat the whole fuzzing
exercise. This macro will force the compiler to materialize the value
no matter what. It should be less prone to accidents compared to using
log functions, which would either slow things down or still optimize the
value away (or simply move it into the if branch the log macros create).
The benefit over assert_se would be that no requirement is made on the
value itself. If we are fine getting a string of any size (including
zero), an assert_se would either create a noisy compiler warning about
conditions that would alawys be met or yet again optimize the whole
thing away.
Jan Janssen [Fri, 23 Sep 2022 07:47:26 +0000 (09:47 +0200)]
fuzz-bcd: Do not include bcd.c
This is not needed anymore, so do it the proper way now.
Albert Mikaelyan [Sat, 24 Sep 2022 22:18:26 +0000 (01:18 +0300)]
Add Asus G14 GA402 to hwdb
Luca Boccassi [Sun, 25 Sep 2022 09:51:45 +0000 (10:51 +0100)]
Merge pull request #24811 from yuwata/build-without-openssl
meson,tpm2: fix build without openssl
Yu Watanabe [Sat, 24 Sep 2022 22:41:07 +0000 (07:41 +0900)]
tpm2-util: fix build with -Dopenssl=false
Fixes #24800.
Yu Watanabe [Sat, 24 Sep 2022 22:33:52 +0000 (07:33 +0900)]
meson: libfido2 requires openssl
Fixes compile error with -Dopenssl=false.
```
In file included from ../../home/watanabe/git/systemd/src/shared/pkcs11-util.h:12,
from ../../home/watanabe/git/systemd/src/cryptenroll/cryptenroll.c:24:
../../home/watanabe/git/systemd/src/shared/openssl-util.h:56:21: error: conflicting types for ‘X509’; have ‘struct X509’
56 | typedef struct X509 X509;
| ^~~~
In file included from /usr/include/openssl/crypto.h:25,
from /usr/include/openssl/bio.h:20,
from /usr/include/openssl/asn1.h:16,
from /usr/include/openssl/ec.h:17,
from /usr/include/fido.h:10,
from ../../home/watanabe/git/systemd/src/shared/libfido2-util.h:18,
from ../../home/watanabe/git/systemd/src/cryptenroll/cryptenroll-fido2.h:7,
from ../../home/watanabe/git/systemd/src/cryptenroll/cryptenroll.c:6:
/usr/include/openssl/ossl_typ.h:123:24: note: previous declaration of ‘X509’ with type ‘X509’ {aka ‘struct x509_st’}
123 | typedef struct x509_st X509;
| ^~~~
```
Yu Watanabe [Sat, 24 Sep 2022 01:10:51 +0000 (10:10 +0900)]
tmpfiles: fix wrong return value
Follow-up for
27f6aa0b7112024c1236957abd909071b06869a8.
Christian Göttsche [Fri, 23 Sep 2022 17:00:22 +0000 (19:00 +0200)]
core: respect SELinuxContext= for socket creation
On socket creation respect the SELinuxContext= setting of the associated
service, such that the initial created socket has the same label as the
future process accepting the connection (since w.r.t SELinux sockets
normally have the same label as the owning process).
Triggered by #24702
Yu Watanabe [Sat, 24 Sep 2022 01:43:58 +0000 (10:43 +0900)]
tree-wide: fix typo
Luca Boccassi [Fri, 23 Sep 2022 19:43:15 +0000 (20:43 +0100)]
Merge pull request #24799 from poettering/initrd-ftw
use "initrd" rather than "initial RAM disk" or "initramfs" to refernce the concept
Daan De Meyer [Fri, 23 Sep 2022 16:53:04 +0000 (18:53 +0200)]
Merge pull request #24635 from DaanDeMeyer/repart-verity-sig
repart: Add support for generating verity sig partitions
Daan De Meyer [Sun, 11 Sep 2022 08:49:24 +0000 (10:49 +0200)]
repart: Add support for generating verity sig partitions
Daan De Meyer [Fri, 23 Sep 2022 13:01:15 +0000 (15:01 +0200)]
openssl-util: Add x509_fingerprint()
Daan De Meyer [Fri, 23 Sep 2022 12:17:20 +0000 (14:17 +0200)]
openssl-util: Allow declaring openssl struct pointers without openssl
Lennart Poettering [Fri, 23 Sep 2022 14:12:54 +0000 (16:12 +0200)]
TODO
Lennart Poettering [Fri, 23 Sep 2022 14:01:09 +0000 (16:01 +0200)]
Merge pull request #24700 from poettering/ssh-creds
support easy provisioning for SSH key of root user
Lennart Poettering [Fri, 23 Sep 2022 13:45:28 +0000 (15:45 +0200)]
Merge pull request #24628 from medhefgo/boot-sections
boot: Try to detect overlapping PE sections
Lennart Poettering [Fri, 23 Sep 2022 13:13:18 +0000 (15:13 +0200)]
Merge pull request #24796 from yuwata/doc-update
documentation updates
Lennart Poettering [Fri, 23 Sep 2022 13:12:56 +0000 (15:12 +0200)]
Merge pull request #24794 from DaanDeMeyer/repart-follow-ups
repart: Extend squashfs logic to all read-only filesystems
Lennart Poettering [Fri, 23 Sep 2022 13:10:06 +0000 (15:10 +0200)]
tree-wide: also settle on "initrd" instead of "initial RAM disk"
With this the concept is now called the same way everywhere except where
historical info is relevant or where the other names are API.
Lennart Poettering [Fri, 23 Sep 2022 12:59:02 +0000 (14:59 +0200)]
tree-wide: use the term "initrd" at most places we so far used "initramfs"
In most cases we refernced the concept as "initrd". Let's convert most
remaining uses of "initramfs" to "initrd" too, to stay internally
consistent.
This leaves "initramfs" only where it's relevant to explain historical
concepts or where "initramfs" is part of the API (i.e. in
/run/initramfs).
Follow-up for:
b66a6e1a5838b874b789820c090dd6850cf10513
Daan De Meyer [Fri, 23 Sep 2022 12:08:40 +0000 (14:08 +0200)]
docs: Mention that "certificateFingerprint" source should be in DER
Daan De Meyer [Fri, 23 Sep 2022 10:40:13 +0000 (12:40 +0200)]
basic: Add strgrowpad0()
Lennart Poettering [Fri, 23 Sep 2022 11:33:55 +0000 (13:33 +0200)]
Merge pull request #24686 from d4nuu8/delta_output
shared/logs-show: add new --output= format "short-delta"
Daan De Meyer [Sun, 18 Sep 2022 13:36:59 +0000 (15:36 +0200)]
dissect: Process verity sig partitions if a root hash is specified
If a root hash is specified, we should be checking that it matches
the root hash in the verity signature partition, so let's not skip
processing of the verity signature partitions if a root hash is
specified.
Daan De Meyer [Sat, 17 Sep 2022 20:35:19 +0000 (22:35 +0200)]
test: Install openssl 3 extra library dependencies
Daan De Meyer [Sat, 17 Sep 2022 20:34:56 +0000 (22:34 +0200)]
dissect: Log when we fail to load the verity signature partition
Daan De Meyer [Sun, 11 Sep 2022 11:43:17 +0000 (13:43 +0200)]
repart: Rename verity integration test definition files
Daan De Meyer [Sun, 11 Sep 2022 08:47:18 +0000 (10:47 +0200)]
repart: Improve missing libcryptsetup error message
Daan De Meyer [Sat, 10 Sep 2022 20:12:57 +0000 (22:12 +0200)]
repart: Rename context_verity() to context_verity_hash()
Lennart Poettering [Fri, 23 Sep 2022 09:43:53 +0000 (11:43 +0200)]
update TODO
Yu Watanabe [Thu, 22 Sep 2022 22:55:50 +0000 (07:55 +0900)]
README: drop graphs counting issues or PRs
These cannot be accessible anymore.
Yu Watanabe [Thu, 22 Sep 2022 22:54:12 +0000 (07:54 +0900)]
doc: drop remaining references to LGTM.com
Avamander [Fri, 23 Sep 2022 09:26:01 +0000 (12:26 +0300)]
Updated Lenovo ThinkPad T440p/T440 touchpad fuzz (#24779)
Daniel Braunwarth [Thu, 22 Sep 2022 16:35:19 +0000 (18:35 +0200)]
shared/logs-show: add new --output= format "short-delta"
This new output formatting option is similar to "short-monotonic" but
also shows the time delta between two messages.
This fixes #24641.
Daniel Braunwarth [Tue, 20 Sep 2022 17:51:36 +0000 (19:51 +0200)]
logs-show: move timestamp reading into show_journal_entry()
Daan De Meyer [Fri, 23 Sep 2022 07:55:26 +0000 (09:55 +0200)]
shared: Don't try to generate read-only filesystem that we don't support
We need explicit support to generate read-only filesystems, since we
always need to pass a source tree to the mkfs binary to populate the
filesystem. As such, let's add an explicit check to return a
recognizable error when users try to generate a read-only filesystem
that we don't support.
Daan De Meyer [Thu, 22 Sep 2022 19:28:58 +0000 (21:28 +0200)]
repart: Extend squashfs logic to all read-only filesystems
The same logic will apply to every read-only filesystem that we
might add support for in the future, so let's make this a bit more
future proof.
Lennart Poettering [Fri, 16 Sep 2022 15:33:54 +0000 (16:33 +0100)]
update TODO
(let's also merge all TODO items about adding creds support to various
tools into one item)
Lennart Poettering [Fri, 16 Sep 2022 14:58:00 +0000 (15:58 +0100)]
man: add man page decribing well known system credentials
Lennart Poettering [Fri, 16 Sep 2022 14:12:14 +0000 (15:12 +0100)]
test: add test case for new ':' uid/gid/access modifier in tmpfiles.d
Lennart Poettering [Fri, 16 Sep 2022 13:59:05 +0000 (14:59 +0100)]
man: document new : modified for uid/gid/access mode in tmpfiles.d
Lennart Poettering [Thu, 15 Sep 2022 18:35:36 +0000 (19:35 +0100)]
tmpfiles: add lines for provisioning ssh keys for root by default
With this, I can now easily do:
systemd-nspawn --load-credential=ssh.authorized_keys.root:/home/lennart/.ssh/authorized_keys --image=… --boot
To boot into an image with my SSH key copied in. Yay!
Lennart Poettering [Thu, 15 Sep 2022 18:35:04 +0000 (19:35 +0100)]
tmpfiles: rework empty_directory() to also use chase_symlinks()
Lennart Poettering [Tue, 13 Sep 2022 10:34:18 +0000 (11:34 +0100)]
tmpfiles: move symlink creation into its own function, and modernize
Let's ensure it also operates based on O_PATH, like fifo/device node/…
creation.
Lennart Poettering [Tue, 13 Sep 2022 09:46:23 +0000 (10:46 +0100)]
tmpfiles: whenever creating an inode, immediately O_PATH open it to pin it
let's make things a bit less racy: whenever we create an inode,
immediately open it via O_PATH, compare type and continue operations
with the acquired fd.
Lennart Poettering [Fri, 16 Sep 2022 11:45:02 +0000 (12:45 +0100)]
fs-util: add mknodat_atomic()
Lennart Poettering [Thu, 15 Sep 2022 19:37:52 +0000 (20:37 +0100)]
fs-util: make mkfifo_atomic() just a shortcut for mkfifoat_atomic()
Lennart Poettering [Tue, 13 Sep 2022 10:33:24 +0000 (11:33 +0100)]
fs-util: replace symlink_atomic() by symlinkat_atomic()
Lennart Poettering [Sun, 11 Sep 2022 10:23:23 +0000 (12:23 +0200)]
tmpfiles: allow prefixing uid/gid/mode with ":" to only apply on creation
In some cases it is useful to specify the access mode/uid/gid for inodes
we create without also enforcing them on existing inodes. Let's add a
new flag for that: if the uid/gid/mode specificaitons are prefixed with
":", then they only apply to creation, not otherwise.
This is specifically useful for provisioning SSH keys later. Those we'd
like to provision like this:
<snip>
d /root :0700 root root -
d /root/.ssh :0700 root root -
f^ /root/.ssh/authorized_keys - - - - ssh.authorized_keys
</snip>
While /root/ + /root/.ssh/ being owned by root is pretty uncontroversial
the access mode of /root/ and /root/.ssh/ might not be. Hence we should
only have a default mode defined that is used when we create the dir,
but not otherwise.
Lennart Poettering [Sun, 11 Sep 2022 10:21:58 +0000 (12:21 +0200)]
tmpfiles: generalize CreationMode and pass it everywhere
For some purposes we had CreationMode which indicates whether an inode
was created by us, or is pre-existing. Let's generalize that for *all*
operations. This is later useful to conditionalize certain operations on
that (and makes the codebase more systematic)
Lennart Poettering [Sun, 11 Sep 2022 10:17:57 +0000 (12:17 +0200)]
tmpfiles: rebreak some comments
Daan De Meyer [Fri, 23 Sep 2022 06:45:47 +0000 (08:45 +0200)]
Merge pull request #24797 from yuwata/networkctl
networkctl: several table format updates
Yu Watanabe [Fri, 23 Sep 2022 02:18:30 +0000 (11:18 +0900)]
networkctl: re-order entries in status command
Also fixes "Speed:" field, which may show empty value.
Yu Watanabe [Fri, 23 Sep 2022 01:43:10 +0000 (10:43 +0900)]
test-network: fix matching string
This partially reverts
5515f2169cb5980996044eabb5f1b35e00fd81eb.
As the commit changes 'networkctl list', not 'networkctl status'.
Yu Watanabe [Fri, 23 Sep 2022 01:39:42 +0000 (10:39 +0900)]
networkctl: use "-" for empty LLDP entries
Yu Watanabe [Tue, 20 Sep 2022 17:26:42 +0000 (02:26 +0900)]
udev: support by-path devlink for multipath nvme block devices
If multipath feature is enabled, nvme block devices may belong to the
"nvme-subsystem" subsystem, instead of "nvme" subsystem.
(What a confusing name...)
Then, the syspath is something like the following,
/sys/devices/virtual/nvme-subsystem/nvme-subsys0/nvme0n1
Hence, we need to find the 'real parent' device, such as
/sys/devices/pci0000:00/0000:00:1c.4/0000:3c:00.0/nvme/nvme0
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=
2031810.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=
2124964.
Replaces #24748.
Yu Watanabe [Fri, 23 Sep 2022 01:20:14 +0000 (10:20 +0900)]
Merge pull request #24790 from poettering/run-chdir
run: let's make --working-directory= just work with --scope
Adam Williamson [Thu, 22 Sep 2022 22:08:43 +0000 (15:08 -0700)]
kbd-model-map: add a mapping for switched czech qwerty/us
See https://bugzilla.redhat.com/show_bug.cgi?id=
2121106 for the
background on this. One of Fedora's QA folks ran an install
and chose two keyboard layouts: Czech (qwerty) and US. Due to
the sad details of how the whole logic flow for trying to decide
what kbd layout best matches a given xkb config works (see
details in the bug comments), we wound up deciding the best-
matching kbd layout for this situation was cz-us-qwertz, which
is a czech/us switched layout, but is qwertz, not qwerty. This
seems like a poor outcome. Adding this line should result in us
picking cz-qwerty in this case. Which may be the 'legacy'
cz-qwerty.map from upstream kbd project (which is switched
cz/us), or may be the auto-converted xkb layout (which obviously
isn't switched). But either way, at least its primary mode is
Czech qwerty, which seems like a *better* choice than a layout
whose primary mode is Czech qwertz.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
Luca Boccassi [Thu, 22 Sep 2022 19:08:27 +0000 (20:08 +0100)]
Merge pull request #24771 from poettering/destroy-pcr11
extend boot phase information into PCR 11 during boot
Antonio Alvarez Feijoo [Thu, 22 Sep 2022 13:13:21 +0000 (15:13 +0200)]
man/portablectl: fix references to options
Daan De Meyer [Thu, 22 Sep 2022 17:09:12 +0000 (19:09 +0200)]
Merge pull request #24746 from DaanDeMeyer/repart-split
repart: Add --split option to generate split artifacts
Lennart Poettering [Mon, 19 Sep 2022 10:52:40 +0000 (12:52 +0200)]
update TODO
Lennart Poettering [Thu, 22 Sep 2022 14:20:38 +0000 (16:20 +0200)]
measure: clarify we actually try to calculate for all four banks by default
Lennart Poettering [Thu, 22 Sep 2022 14:19:58 +0000 (16:19 +0200)]
measure: make --public-key= optional if "sign" is called
We can derive the public key from the private key, so let's do that, to
make things a bit easier.
Lennart Poettering [Sat, 17 Sep 2022 13:22:54 +0000 (15:22 +0200)]
measure: allow pre-calculating PCR values for multiple boot phases
Lennart Poettering [Fri, 16 Sep 2022 22:50:38 +0000 (00:50 +0200)]
units: add pcrphase units
Lennart Poettering [Fri, 16 Sep 2022 21:57:26 +0000 (23:57 +0200)]
boot: add new pcrphase tool to measure barrier strings into PCR 11
Lennart Poettering [Fri, 16 Sep 2022 21:31:09 +0000 (23:31 +0200)]
tpm2-util: add helper for determining enabled/used PCR banks
Lennart Poettering [Fri, 16 Sep 2022 21:17:48 +0000 (23:17 +0200)]
tpm2-util: split out code that checks if bank has 24 pcrs into helper function of its own
Just some refactoring, not change in behaviour.
Lennart Poettering [Fri, 16 Sep 2022 21:15:41 +0000 (23:15 +0200)]
tpm2-util: pick up Esys_PCR_Extend() symbol too
Zbigniew Jędrzejewski-Szmek [Thu, 22 Sep 2022 13:38:16 +0000 (15:38 +0200)]
Merge pull request #24781 from DaanDeMeyer/link-remove-check
systemctl: Remove check that linked unit files must contain a "/"
Daan De Meyer [Mon, 19 Sep 2022 14:58:20 +0000 (16:58 +0200)]
repart: Add --split option to generate split artifacts
For use with sysupdate or other systemd tooling, it's useful to be
able to generate split artifacts from disk images, where each
partition is written to a separate file. Let's support this with
a --split switch for repart and a SplitName= configuration option.
--split enables split artifacts generation, and SplitName= configures
for which partition to generate split artifacts, and which suffix to
add to the split artifact name.
For SplitName=, we add support for some extra specifiers, more specifically
the partition Type UUID and the partition UUID.
Daan De Meyer [Thu, 22 Sep 2022 12:54:33 +0000 (14:54 +0200)]
shared: Add GPT_PARTITION_TYPE_UUID_TO_STRING_HARDER()
Daan De Meyer [Thu, 22 Sep 2022 12:39:44 +0000 (14:39 +0200)]
shared: Add specifier_uint64()
Daan De Meyer [Thu, 22 Sep 2022 12:42:00 +0000 (14:42 +0200)]
systemctl: Fix style nit
Lennart Poettering [Thu, 22 Sep 2022 12:21:46 +0000 (14:21 +0200)]
run: make --working-directory= work for --scope too
This sounds like a more user-friendly alternative to #24780
Lennart Poettering [Thu, 22 Sep 2022 12:19:10 +0000 (14:19 +0200)]
Revert "systemd-run: refuse --working-directory option with --scope"
This reverts commit
780c8055378589e5a7d419789761c35d05295291.
Lennart Poettering [Thu, 22 Sep 2022 12:17:40 +0000 (14:17 +0200)]
Merge pull request #24768 from keszybz/table-not-available-2
Adjust table n/a text in more places
Daan De Meyer [Mon, 19 Sep 2022 13:35:17 +0000 (15:35 +0200)]
shared: Add specifier_id128() and specifier_uuid()
Luca Boccassi [Thu, 22 Sep 2022 11:53:48 +0000 (12:53 +0100)]
Merge pull request #24620 from poettering/measure-tweaks
measure: some tweaks
Frantisek Sumsal [Thu, 22 Sep 2022 11:47:49 +0000 (13:47 +0200)]
README: drop the LGTM badge
Daan De Meyer [Wed, 21 Sep 2022 18:42:06 +0000 (20:42 +0200)]
systemctl: Improve link directory separator error message
Let's suggest users try ./<filename> when they encounter this error.
Zbigniew Jędrzejewski-Szmek [Tue, 20 Sep 2022 18:39:16 +0000 (20:39 +0200)]
shared/format-table: use empty_string instead of hardcoding "-" for invalid values
As requested in https://github.com/systemd/systemd/pull/24708#discussion_r973607866.
Zbigniew Jędrzejewski-Szmek [Tue, 20 Sep 2022 18:38:27 +0000 (20:38 +0200)]
shared/format-table: use enum instead of Table.empty_string
All users were setting this to some static string (usually "-"), so let's
simplify things by not doing strdup, but instead limiting callers to a fixed
set of values. In preparation for the next commit, the function is renamed from
"empty" to "replacement", because it'll be used for more than empty fields. I
didn't do the whole string-table setup, because it's all used internally in one
file and this way we can immediately assert if an invalid value is passed in.
Some callers were (void)ing the error, others were ignoring it, and others
propagating. It's nicer to remove the boilerplate.
Joost Heitbrink [Wed, 21 Sep 2022 18:11:44 +0000 (20:11 +0200)]
systemd-run: refuse --working-directory option with --scope
systemd-run's man page says the following about the working directory of
the process:
"If a command is run as transient scope unit, it will be executed
by systemd-run itself as parent process and will thus inherit the
execution environment of the caller."
This means working directory assignment does not work, as evidenced by
the following invocation:
```bash
$ systemd-run --scope --property=WorkingDirectory=/tmp/ bash -c 'echo $(pwd)'
Unknown assignment: WorkingDirectory=/tmp/
```
However, using the shorthand switch --working-directory silently ignores
this instead of giving a similar error.
```bash
systemd-run --scope --user --working-directory=/tmp/ bash -c 'echo $(pwd)'
Running scope as unit: run-r19cc32e744e64285814dbf2204637a2b.scope
/home/test/projects/systemd
```
This commit fixes this by explicitly generating an error instead of
silently ignoring the switch:
```bash
$ systemd-run --scope --working-directory=/tmp/ bash -c 'echo $(pwd)'
--working-directory is not supported in --scope mode.
```
Joost Heitbrink [Wed, 21 Sep 2022 18:57:09 +0000 (20:57 +0200)]
man: don't mention Socket files in Scope man page
Lennart Poettering [Wed, 21 Sep 2022 18:07:21 +0000 (20:07 +0200)]
Merge pull request #24709 from keszybz/partition-table-constants
Expose various GPT UUIDs as public contants and link them up in docs
Lennart Poettering [Wed, 21 Sep 2022 17:49:10 +0000 (19:49 +0200)]
Merge pull request #24753 from DaanDeMeyer/repart-squashfs
repart: Add squashfs support
Edson Juliano Drosdeck [Wed, 21 Sep 2022 17:46:42 +0000 (14:46 -0300)]
Fix inverted rotation in the Positivo DUO #24769 (#24770)
hwdb: Fix inverted rotation in the Positivo DUO
Fixes: #24769
Lennart Poettering [Wed, 21 Sep 2022 14:42:26 +0000 (16:42 +0200)]
stub: fix conditionalization of initrd assembly
We forgot to conditionalize this on pcrsig/pcrpkey too. So if you have
ne creds or sysext configured we actually wouldn't pass pcrsig/pcrpkey
along. Let's fix that.
Zbigniew Jędrzejewski-Szmek [Sun, 18 Sep 2022 11:20:05 +0000 (13:20 +0200)]
sd-gpt: adjust comments and use UINT64_C()
Zbigniew Jędrzejewski-Szmek [Sat, 17 Sep 2022 11:01:11 +0000 (13:01 +0200)]
docs/DPS: use the SD_GPT_* constants here too
Zbigniew Jędrzejewski-Szmek [Tue, 20 Sep 2022 18:41:31 +0000 (20:41 +0200)]
networkctl: use "-" for empty fields
This looks nicer. Some fields were already using "-" as fallback, e.g. Speed,
so this makes things more consistent too.
Zbigniew Jędrzejewski-Szmek [Tue, 20 Sep 2022 18:12:50 +0000 (20:12 +0200)]
hostnamectl,localectl: use "(unset)" in empty fields
"n/a" is more ambiguous: not available or not set or maybe we didn't check it.
Let's just say directly that the field is not set.
Daan De Meyer [Mon, 19 Sep 2022 18:26:15 +0000 (20:26 +0200)]
repart: Add squashfs support
To make this work, we have to set up everything in a temporary
directory tree that we can pass to mksquashfs as a single directory.
To make the most common scenario more efficient, we skip the temporary
setup directory if we only get a single source tree destined to root
in the squashfs filesystem.
Daan De Meyer [Wed, 21 Sep 2022 09:12:59 +0000 (11:12 +0200)]
Merge pull request #24751 from medhefgo/stub-x86
stub: Several fixes
Daan De Meyer [Mon, 19 Sep 2022 18:24:55 +0000 (20:24 +0200)]
shared: Add squashfs support to make_filesystem()
The caveat is that the caller has to provide a source directory
to initialize the squashfs filesystem from.
Daan De Meyer [Wed, 21 Sep 2022 08:30:51 +0000 (10:30 +0200)]
Merge pull request #24522 from yuwata/core-device-drop-nonexistent-devlink-unit
core/device: drop nonexistent devlink units