blob: d2d09d70d948776cf2e8f7504f407e0ba99dc097 [file] [log] [blame]
Brad Bishop5a3ac182020-01-07 09:03:18 -05001set_mac = dependency('systemd', required: get_option('first-boot-set-mac'))
2
3if set_mac.found()
4 install_data(
5 'first-boot-set-mac.sh',
6 install_mode: 'rwxr-xr-x',
7 install_dir: get_option('bindir'),
8 )
9
10 configure_file(
11 input: 'first-boot-set-mac@.service',
12 output: 'first-boot-set-mac@.service',
13 copy: true,
14 install_dir:
15 set_mac.get_pkgconfig_variable('systemdsystemunitdir'),
16 )
17endif