mirror of
https://github.com/systemd/systemd.git
synced 2025-01-24 06:04:05 +03:00
Move bootctl to its own source subdirectory
It's been split into a bunch of files and deserves its own subdirectory similarly to systemctl.
This commit is contained in:
parent
bb5936f7f3
commit
0b676aab33
@ -2346,6 +2346,7 @@ subdir('src/battery-check')
|
||||
subdir('src/binfmt')
|
||||
subdir('src/boot')
|
||||
subdir('src/boot/efi')
|
||||
subdir('src/bootctl')
|
||||
subdir('src/busctl')
|
||||
subdir('src/cgls')
|
||||
subdir('src/cgroups-agent')
|
||||
|
@ -1,17 +1,5 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
bootctl_sources = files(
|
||||
'bootctl-install.c',
|
||||
'bootctl-random-seed.c',
|
||||
'bootctl-reboot-to-firmware.c',
|
||||
'bootctl-set-efivar.c',
|
||||
'bootctl-status.c',
|
||||
'bootctl-systemd-efi-options.c',
|
||||
'bootctl-uki.c',
|
||||
'bootctl-util.c',
|
||||
'bootctl.c',
|
||||
)
|
||||
|
||||
if get_option('link-boot-shared')
|
||||
boot_link_with = [libshared]
|
||||
else
|
||||
@ -22,16 +10,6 @@ else
|
||||
endif
|
||||
|
||||
executables += [
|
||||
executable_template + {
|
||||
'name' : 'bootctl',
|
||||
'public' : true,
|
||||
'conditions' : [
|
||||
'HAVE_BLKID',
|
||||
],
|
||||
'sources' : bootctl_sources,
|
||||
'link_with' : boot_link_with,
|
||||
'dependencies' : [libblkid, libopenssl],
|
||||
},
|
||||
libexec_template + {
|
||||
'name' : 'systemd-bless-boot',
|
||||
'public' : true,
|
||||
|
26
src/bootctl/meson.build
Normal file
26
src/bootctl/meson.build
Normal file
@ -0,0 +1,26 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
bootctl_sources = files(
|
||||
'bootctl-install.c',
|
||||
'bootctl-random-seed.c',
|
||||
'bootctl-reboot-to-firmware.c',
|
||||
'bootctl-set-efivar.c',
|
||||
'bootctl-status.c',
|
||||
'bootctl-systemd-efi-options.c',
|
||||
'bootctl-uki.c',
|
||||
'bootctl-util.c',
|
||||
'bootctl.c',
|
||||
)
|
||||
|
||||
executables += [
|
||||
executable_template + {
|
||||
'name' : 'bootctl',
|
||||
'public' : true,
|
||||
'conditions' : [
|
||||
'HAVE_BLKID',
|
||||
],
|
||||
'sources' : bootctl_sources,
|
||||
'link_with' : boot_link_with,
|
||||
'dependencies' : [libblkid, libopenssl],
|
||||
},
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user