Commit eed69db1 authored by Anton Midyukov's avatar Anton Midyukov

grub: Added ability to set grub theme name

Simply Linux has a specific directory name with a theme.
parent b6fed78a
......@@ -98,7 +98,8 @@ bootargs: clean
@if [ $$(echo $(KFLAVOURS) | wc -w) -gt 1 ]; then \
sed -i "s,@KFLAVOUR@,$(KFLAVOURS),g" $(DSTCFGS); \
fi
GRUBTHEME=$$(cut -d "-" -f2 <<< $(BRANDING)); \
GRUBTHEME=$(GRUBTHEME); \
[ -n "$$GRUBTHEME" ] || GRUBTHEME=$$(cut -d "-" -f2 <<< $(BRANDING)); \
sed -i "s,@grubtheme@,$$GRUBTHEME,g" $(DSTCFGS); \
clean: copy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment