[Bug 887320] Re: burg-mkconfig and grub-mkconfig using set variable
Launchpad Bug Tracker
887320 at bugs.launchpad.net
Tue May 5 06:13:41 UTC 2020
[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]
** Changed in: grub2 (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/887320
Title:
burg-mkconfig and grub-mkconfig using set variable
Status in grub2 package in Ubuntu:
Expired
Bug description:
Here the following bug :
cat /etc/burg.d/41_custom
#!/bin/sh
cat <<EOF
if [ -f \$prefix/custom.cfg ]; then
source \$prefix/custom.cfg;
fi
menuentry "SystemRescueCd (iso)" {
insmod lvm
insmod ext2
set root='(linux-linux_home)'
search --no-floppy --fs-uuid --set e6d4eab5-ca7c-4873-b093-8fbd29523c53
set isofile='/ulefr01/iso/systemrescuecd-x86-2.3.1.iso'
loopback loop $isofile
linux (loop)/isolinux/rescuecd isoloop=$isofile setkmap=be
initrd (loop)/isolinux/initram.igz
}
EOF
when i do :
burg-mkconfig -o test.cfg
cat test.cfg
### BEGIN /etc/burg.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
menuentry "SystemRescueCd (iso)" {
insmod lvm
insmod ext2
set root='(linux-linux_home)'
search --no-floppy --fs-uuid --set e6d4eab5-ca7c-4873-b093-8fbd29523c53
set isofile='/ulefr01/iso/systemrescuecd-x86-2.3.1.iso'
loopback loop
linux (loop)/isolinux/rescuecd isoloop= setkmap=be
initrd (loop)/isolinux/initram.igz
}
The $isofile is empty in the test.cfg
This same problem occurs with the grub-mkconfig !
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/887320/+subscriptions
More information about the foundations-bugs
mailing list