grub2: fix duplicate live entries
in tweaking a previous commit to remove some excessive change before submission, i mistakenly identified the part of the sed replacement restored here as being unnecessary to its functionality, but in fact it is. without it the placeholder is not actually removed. the lack of removal of the placeholder meant that you ended up with duplicate copies of the live menu entries. Gbp-Dch: Ignore
This commit is contained in:
parent
578dbee516
commit
6ebac9cc5b
|
@ -192,8 +192,8 @@ if [ $_COUNT -gt 1 ]; then
|
|||
fi
|
||||
|
||||
# Replace placeholder with compiled live entries temporarily held in live.cfg.tmp
|
||||
sed -i -e "/@LINUX_LIVE@/ r ${LIVE_ENTRIES_TMP}" "${_TARGET}"/*.cfg
|
||||
sed -i -e "/LINUX_LIVE/ r ${LIVE_ENTRIES_TMP}" "${_TARGET}"/*.cfg #backwards compatibility
|
||||
sed -i -e "/@LINUX_LIVE@/r ${LIVE_ENTRIES_TMP}" -e "/@LINUX_LIVE@/d" "${_TARGET}"/*.cfg
|
||||
sed -i -e "/LINUX_LIVE/r ${LIVE_ENTRIES_TMP}" -e "/LINUX_LIVE/d" "${_TARGET}"/*.cfg #backwards compatibility
|
||||
rm -f "${LIVE_ENTRIES_TMP}"
|
||||
|
||||
# Assembling debian-installer configuration
|
||||
|
|
Loading…
Reference in New Issue