File tree 4 files changed +16
-7
lines changed
4 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ install:
39
39
40
40
install-grub-static :
41
41
install -m 644 -D -t ${DESTDIR} $(PREFIX ) /lib/bootupd/grub2-static src/grub2/* .cfg
42
- install -m 755 -d ${DESTDIR} $(PREFIX ) /lib/bootupd/grub2-static/configs.d
42
+ install -m 644 -D -t ${DESTDIR} $(PREFIX ) /lib/bootupd/grub2-static/configs.d src/grub2/configs.d/ * .cfg
43
43
44
44
install-systemd-unit :
45
45
install -m 644 -D -t " ${DESTDIR} $( PREFIX) /lib/systemd/system/" systemd/bootloader-update.service
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
+ # Import user defined configuration
2
+ # tracker: https://github.com/coreos/fedora-coreos-tracker/issues/805
3
+ if [ -f $prefix/custom.cfg ]; then
4
+ source $prefix/custom.cfg
5
+ 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