mirror of
https://github.com/systemd/systemd
synced 2025-12-29 04:14:44 +01:00
Compare commits
No commits in common. "11b9105dfdbcea5dc9f4a5dd676ca494ab8b909e" and "a2e926a135e0a88e5df3731e7fd682aba789cce9" have entirely different histories.
11b9105dfd
...
a2e926a135
@ -112,7 +112,6 @@
|
|||||||
These special IDs are primarily useful as a quick way to persistently make the currently booted boot loader
|
These special IDs are primarily useful as a quick way to persistently make the currently booted boot loader
|
||||||
entry the default choice, or to upgrade the default boot loader entry for the next boot to the default boot
|
entry the default choice, or to upgrade the default boot loader entry for the next boot to the default boot
|
||||||
loader entry for all future boots, but may be used for other operations too.
|
loader entry for all future boots, but may be used for other operations too.
|
||||||
When an emptry string ("") is specified as an ID, then the corresponding EFI variable will be unset.
|
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
|||||||
@ -20,7 +20,7 @@ MACHINE_ID=$KERNEL_INSTALL_MACHINE_ID
|
|||||||
|
|
||||||
BOOT_ROOT=${ENTRY_DIR_ABS%/$MACHINE_ID/$KERNEL_VERSION}
|
BOOT_ROOT=${ENTRY_DIR_ABS%/$MACHINE_ID/$KERNEL_VERSION}
|
||||||
BOOT_MNT=$(stat -c %m $BOOT_ROOT)
|
BOOT_MNT=$(stat -c %m $BOOT_ROOT)
|
||||||
ENTRY_DIR=${ENTRY_DIR_ABS#$BOOT_MNT}
|
ENTRY_DIR=/${ENTRY_DIR_ABS#$BOOT_MNT}
|
||||||
|
|
||||||
if [[ $COMMAND == remove ]]; then
|
if [[ $COMMAND == remove ]]; then
|
||||||
rm -f "$BOOT_ROOT/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf"
|
rm -f "$BOOT_ROOT/loader/entries/$MACHINE_ID-$KERNEL_VERSION.conf"
|
||||||
|
|||||||
@ -420,8 +420,7 @@ static int enumerator_scan_dir_and_add_devices(sd_device_enumerator *enumerator,
|
|||||||
|
|
||||||
dir = opendir(path);
|
dir = opendir(path);
|
||||||
if (!dir)
|
if (!dir)
|
||||||
/* this is necessarily racey, so ignore missing directories */
|
return -errno;
|
||||||
return (errno == ENOENT && (subdir1 || subdir2)) ? 0 : -errno;
|
|
||||||
|
|
||||||
FOREACH_DIRENT_ALL(dent, dir, return -errno) {
|
FOREACH_DIRENT_ALL(dent, dir, return -errno) {
|
||||||
_cleanup_(sd_device_unrefp) sd_device *device = NULL;
|
_cleanup_(sd_device_unrefp) sd_device *device = NULL;
|
||||||
|
|||||||
@ -322,7 +322,6 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
|
|||||||
"membarrier\0"
|
"membarrier\0"
|
||||||
"mmap\0"
|
"mmap\0"
|
||||||
"mmap2\0"
|
"mmap2\0"
|
||||||
"munmap\0"
|
|
||||||
"nanosleep\0"
|
"nanosleep\0"
|
||||||
"pause\0"
|
"pause\0"
|
||||||
"prlimit64\0"
|
"prlimit64\0"
|
||||||
@ -472,6 +471,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
|
|||||||
"mkdirat\0"
|
"mkdirat\0"
|
||||||
"mknod\0"
|
"mknod\0"
|
||||||
"mknodat\0"
|
"mknodat\0"
|
||||||
|
"munmap\0"
|
||||||
"newfstatat\0"
|
"newfstatat\0"
|
||||||
"oldfstat\0"
|
"oldfstat\0"
|
||||||
"oldlstat\0"
|
"oldlstat\0"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user