forked from altcloud/mkimage-profiles
grub: Added ability to set grub theme name
Simply Linux has a specific directory name with a theme.
This commit is contained in:
parent
b6fed78a52
commit
eed69db1ab
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user