if ! [ -d "${BUILD_OUTPUT}/boot/grub" ] ; then
mkdir -p "${BUILD_OUTPUT}/boot/grub"
fi
- cp ${TEMPLATE_DIRECTORY}/boot/grub/* "$BUILD_OUTPUT"/boot/grub/
+ cp -a ${TEMPLATE_DIRECTORY}/boot/grub/* "$BUILD_OUTPUT"/boot/grub/
# copy grub files from target
cp -a "${CHROOT_OUTPUT}"/usr/lib/grub/*-pc/*.mod "${BUILD_OUTPUT}"/boot/grub/
--- /dev/null
+title-text: ""
+title-color: "#FFFFFF"
+desktop-color: "black"
+message-color: "#FFFFFF"
+
++ image {
+ file = "grml-logo.png"
+ left = 45%
+ top = 2%
+}
++ boot_menu {
+ left = 15%
+ width = 70%
+ top = 16%
+ height = 36%
+ item_color = "#FFFFFF"
+ selected_item_color = "orange"
+ item_spacing = 4
+ item_height = 12
+ border_color = "#FFFFFF"
+
+}
+
+
+# Show an informational message.
++ vbox {
+ top = 55%
+ left = 20%
+ + label {text = "Press ENTER to boot or E to edit menu entry " color = "white" align = "left"}
+ + label {text = "Press C to enter the Grub commandline" color = "white"}
+}
+
++ progress_bar
+{
+ id = "__timeout__"
+ top = 75%
+ left = 20%
+ text_color = "#FFFFFF"
+ fg_color = "orange"
+ bg_color = #66B
+ border_color = #006
+ text = "@TIMEOUT_NOTIFICATION_LONG@"
+
+}
terminal_output gfxterm
fi
-if background_image /boot/grub/grml.png ; then
+if [ -f /boot/grub/grml-theme/theme.txt ] ; then
+ set theme=/boot/grub/grml-theme/theme.txt
+elif background_image /boot/grub/grml.png ; then
set color_normal=white/black
set color_highlight=red/black
set menu_color_normal=white/black
set loopback="findiso=${iso_path}"
fi
+
for config in /boot/grub/*_default.cfg ; do source "$config" ; done
for config in /boot/grub/*_options.cfg ; do source "$config" ; done
source /boot/grub/addons.cfg