File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ install:
40
40
.PHONY : install-grub-static
41
41
install-grub-static :
42
42
install -m 644 -D -t ${DESTDIR} $(PREFIX ) /lib/bootupd/grub2-static src/grub2/* .cfg
43
- install -m 755 -d ${DESTDIR} $(PREFIX ) /lib/bootupd/grub2-static/configs.d
43
+ install -m 644 -D -t ${DESTDIR} $(PREFIX ) /lib/bootupd/grub2-static/configs.d src/grub2/configs.d/ * .cfg
44
44
45
45
.PHONY : install-systemd-unit
46
46
install-systemd-unit :
Original file line number Diff line number Diff line change
1
+ # Keep the comment for grub2-set-password
2
+ # ## BEGIN /etc/grub.d/01_users ###
3
+ if [ -f ${prefix}/user.cfg ]; then
4
+ source ${prefix}/user.cfg
5
+ if [ -n " ${GRUB2_PASSWORD}" ]; then
6
+ set superusers =" root"
7
+ export superusers
8
+ password_pbkdf2 root ${GRUB2_PASSWORD}
9
+ fi
10
+ fi
Original file line number Diff line number Diff line change
1
+ if [ -f $prefix/custom.cfg ]; then
2
+ source $prefix/custom.cfg
3
+ fi
Original file line number Diff line number Diff line change 7
7
set timeout =1
8
8
fi
9
9
10
- # Import user defined configuration
11
- # tracker: https://github.com/coreos/fedora-coreos-tracker/issues/805
12
- if [ -f $prefix/user.cfg ]; then
13
- source $prefix/user.cfg
14
- fi
15
-
16
10
blscfg
17
11
You can’t perform that action at this time.
0 commit comments