diff options
author | jnqnfe <jnqnfe@gmail.com> | 2015-02-03 18:52:30 +0000 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-04-24 18:50:37 +0100 |
commit | 24c2b3e119ef1b22539736ddaae1f42818c09f02 (patch) | |
tree | 7119c3343128f5cb8be537ec0fa663ccb3a70777 /share/bootloaders/syslinux/live.cfg.in | |
parent | 34a72caf494b2b4b98248ce4d54e0654dc822890 (diff) | |
download | vyos-live-build-24c2b3e119ef1b22539736ddaae1f42818c09f02.tar.gz vyos-live-build-24c2b3e119ef1b22539736ddaae1f42818c09f02.zip |
syslinux: deduplicate common files
there are several files of which identical duplicate copies are held in:
- share/bootloaders/extlinux
- share/bootloaders/pxelinux
- share/bootloaders/isolinux
- share/bootloaders/syslinux
it is a pain to maintain this from a development standpoint, having to
copy modified config files into the other directories each time changes
are made and mistakes have been made before due to this.
this creates a new folder share/bootloaders/syslinux_common and moves them
to this new directory.
it also expands the binary_syslinux stage to use it, with it now
constructing the installed set of bootloader files as follows:
1. copy {LB_DIR}/bootloaders/syslinux_common
2. copy {LB_DIR}/bootloaders/{syslinux|isolinux|extlinux|pxelinux} on top
3. copy config/bootloaders/syslinux_common on top
4. copy config/bootloaders/{syslinux|isolinux|extlinux|pxelinux} on top
note, to explain part of the binary_syslinux change, instead of just
copying the correct bootloader folder full of the files, we now make the
target bootloader specific directory, then copy the contents of source
directories into it.
Gbp-Dch: Short
Diffstat (limited to 'share/bootloaders/syslinux/live.cfg.in')
-rw-r--r-- | share/bootloaders/syslinux/live.cfg.in | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/share/bootloaders/syslinux/live.cfg.in b/share/bootloaders/syslinux/live.cfg.in deleted file mode 100644 index a405349a2..000000000 --- a/share/bootloaders/syslinux/live.cfg.in +++ /dev/null @@ -1,12 +0,0 @@ -label live-@FLAVOUR@ - menu label ^Live (@FLAVOUR@) - menu default - linux @LINUX@ - initrd @INITRD@ - append @APPEND_LIVE@ - -label live-@FLAVOUR@-failsafe - menu label Live (@FLAVOUR@ failsafe) - linux @LINUX@ - initrd @INITRD@ - append @APPEND_LIVE_FAILSAFE@ |