mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 12:25:38 +00:00
trivial: firmware-packager: make it easier to reuse code
This commit is contained in:
parent
f603e2df88
commit
22379ab16c
0
contrib/firmware_packager/__init__.py
Normal file
0
contrib/firmware_packager/__init__.py
Normal file
@ -104,6 +104,7 @@ def main(args):
|
||||
print('Done')
|
||||
shutil.copy(os.path.join(dir, 'firmware.cab'), args.out)
|
||||
|
||||
if __name__ == '__main__':
|
||||
parser = argparse.ArgumentParser(description='Create fwupd packaged from windows executables')
|
||||
parser.add_argument('--firmware-name', help='Name of the firmware package can be customized (e.g. DellTBT)', required=True)
|
||||
parser.add_argument('--firmware-summary', help='One line description of the firmware package')
|
@ -1,4 +1,4 @@
|
||||
if get_option('firmware-packager')
|
||||
install_data('firmware-packager',
|
||||
install_data('firmware_packager.py',
|
||||
install_dir : 'share/fwupd')
|
||||
endif
|
@ -282,7 +282,7 @@ rm ${RPM_BUILD_ROOT}%{_sbindir}/flashrom
|
||||
%{_datadir}/man/man1/fwupdmgr.1.gz
|
||||
%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml
|
||||
%{_datadir}/icons/hicolor/scalable/apps/org.freedesktop.fwupd.svg
|
||||
%{_datadir}/fwupd/firmware-packager
|
||||
%{_datadir}/fwupd/firmware_packager.py
|
||||
%{_unitdir}/fwupd-offline-update.service
|
||||
%{_unitdir}/fwupd.service
|
||||
%{_unitdir}/fwupd-refresh.service
|
||||
|
@ -1 +1 @@
|
||||
subdir('firmware-packager')
|
||||
subdir('firmware_packager')
|
||||
|
Loading…
Reference in New Issue
Block a user