removed grub stuff
|
|
@ -4,6 +4,3 @@
|
|||
# You should have this in every custom script, to ensure that your completed
|
||||
# builds actually ran successfully without any errors!
|
||||
set -oue pipefail
|
||||
|
||||
sudo chmod 755 /usr/local/sbin/bls-add-bluefin.sh
|
||||
sudo systemctl daemon-reload
|
||||
|
Before Width: | Height: | Size: 246 B |
|
Before Width: | Height: | Size: 947 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 978 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1,009 B |
|
Before Width: | Height: | Size: 844 B |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 244 B |
|
Before Width: | Height: | Size: 250 B |
|
Before Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 253 B |
|
Before Width: | Height: | Size: 250 B |
|
Before Width: | Height: | Size: 246 B |
|
Before Width: | Height: | Size: 246 B |
|
Before Width: | Height: | Size: 246 B |
|
|
@ -1,146 +0,0 @@
|
|||
title-text: ""
|
||||
desktop-image: "background.png"
|
||||
desktop-color: "#ffffff"
|
||||
terminal-font: "Terminus (TTF) Regular 20"
|
||||
terminal-left: "0"
|
||||
terminal-top: "0"
|
||||
terminal-width: "100%"
|
||||
terminal-height: "100%"
|
||||
terminal-border: "0"
|
||||
|
||||
+ image {
|
||||
file = "thinkpad_logo.png"
|
||||
top = 40
|
||||
left = 40
|
||||
}
|
||||
+ image {
|
||||
file = "lenovo_logo.png"
|
||||
top = 40
|
||||
left = 100%-296
|
||||
}
|
||||
+ image {
|
||||
file = "separator.png"
|
||||
top = 100%-106
|
||||
left = 0
|
||||
width = 100%
|
||||
height = 4
|
||||
}
|
||||
|
||||
+ progress_bar {
|
||||
left = 50%-400
|
||||
top = 79%-20
|
||||
width = 800
|
||||
height = 40
|
||||
|
||||
id = "__timeout__"
|
||||
text = "@TIMEOUT_NOTIFICATION_SHORT@"
|
||||
|
||||
border_color = "white"
|
||||
highlight_style = "progress_active_*.png"
|
||||
bar_style = "progress_inactive_*.png"
|
||||
font = "Roboto Regular 20"
|
||||
}
|
||||
|
||||
|
||||
+ label {
|
||||
font = "Roboto Regular 42"
|
||||
left = 0
|
||||
top = 4%+125
|
||||
width = 100%
|
||||
color = "#9667cc"
|
||||
align = "center"
|
||||
text = "Select Boot Option"
|
||||
}
|
||||
|
||||
+ boot_menu {
|
||||
left = 50%-400
|
||||
top = 50%-300
|
||||
width = 800
|
||||
height = 600
|
||||
item_font = "Roboto Regular 22"
|
||||
item_color = "#FFFFFF"
|
||||
selected_item_color = "#FFFFFF"
|
||||
icon_width = 48
|
||||
icon_height = 48
|
||||
item_icon_space = 10
|
||||
item_height = 48
|
||||
item_padding = 20
|
||||
item_spacing = 10
|
||||
item_pixmap_style = "menu_inactive_*.png"
|
||||
selected_item_pixmap_style = "menu_selected_*.png"
|
||||
}
|
||||
|
||||
|
||||
+ label {
|
||||
font = "Roboto Regular 22"
|
||||
left = 0%
|
||||
top = 100%-66
|
||||
width = 13%-5
|
||||
color = "#398ecd"
|
||||
align = "right"
|
||||
text = "↑↓"
|
||||
}
|
||||
+ label {
|
||||
font = "Roboto Regular 22"
|
||||
left = 13%+5
|
||||
top = 100%-66
|
||||
color = "#FFFFFF"
|
||||
align = "left"
|
||||
text = "Select"
|
||||
}
|
||||
|
||||
+ label {
|
||||
font = "Roboto Regular 22"
|
||||
left = 25%
|
||||
top = 100%-66
|
||||
width = 10%-5
|
||||
color = "#398ecd"
|
||||
align = "right"
|
||||
text = "Enter"
|
||||
}
|
||||
+ label {
|
||||
font = "Roboto Regular 22"
|
||||
left = 35%+5
|
||||
top = 100%-66
|
||||
color = "#FFFFFF"
|
||||
align = "left"
|
||||
text = "Boot"
|
||||
}
|
||||
|
||||
+ label {
|
||||
font = "Roboto Regular 22"
|
||||
left = 48%
|
||||
top = 100%-66
|
||||
width = 10%-5
|
||||
color = "#398ecd"
|
||||
align = "right"
|
||||
text = "E"
|
||||
}
|
||||
+ label {
|
||||
font = "Roboto Regular 22"
|
||||
left = 58%+5
|
||||
top = 100%-66
|
||||
color = "#FFFFFF"
|
||||
align = "left"
|
||||
text = "Options"
|
||||
}
|
||||
|
||||
+ label {
|
||||
font = "Roboto Regular 22"
|
||||
left = 70%
|
||||
top = 100%-66
|
||||
width = 10%-5
|
||||
color = "#398ecd"
|
||||
align = "right"
|
||||
text = "C"
|
||||
}
|
||||
+ label {
|
||||
font = "Roboto Regular 22"
|
||||
left = 80%+5
|
||||
top = 100%-66
|
||||
color = "#FFFFFF"
|
||||
align = "left"
|
||||
text = "Command Line"
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 2.2 KiB |
|
|
@ -1,3 +0,0 @@
|
|||
set theme="/boot/grub2/themes/thinkpad/theme.txt"
|
||||
set timeout=2
|
||||
set gfxmode=1024x768,800x600
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
shopt -s nullglob
|
||||
|
||||
entries_dir="/boot/loader/entries"
|
||||
|
||||
for f in "$entries_dir"/ostree-*.conf "$entries_dir"/*-ostree-*.conf; do
|
||||
[ -f "$f" ] || continue
|
||||
|
||||
# Already correct? skip
|
||||
if grep -qxE 'grub_class[[:space:]]+bluefin' "$f"; then
|
||||
continue
|
||||
fi
|
||||
|
||||
tmp="$(mktemp)"
|
||||
if grep -qE '^grub_class[[:space:]]+' "$f"; then
|
||||
sed -E 's/^grub_class[[:space:]].*/grub_class bluefin/' "$f" >"$tmp"
|
||||
else
|
||||
awk '1; /^title[[:space:]]/{print "grub_class bluefin";}' "$f" >"$tmp"
|
||||
fi
|
||||
|
||||
if ! cmp -s "$f" "$tmp"; then
|
||||
chmod --reference="$f" "$tmp"
|
||||
chown --reference="$f" "$tmp"
|
||||
command -v chcon >/dev/null 2>&1 && chcon --reference="$f" "$tmp" 2>/dev/null || true
|
||||
mv -f "$tmp" "$f"
|
||||
else
|
||||
rm -f "$tmp"
|
||||
fi
|
||||
done
|
||||