File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,15 @@ mess up what the numbers below point to!
125
125
=> saved_entry=4
126
126
127
127
128
+ Fedora and derived distributions have a more elaborate system to manage
129
+ "installed" kernels. Instead of extracting ``menuentry `` lines from
130
+ ``/boot/grub/grub.cfg `` with the ``awk `` command above, to list all
131
+ installed kernels use: ``grubby --info=ALL ``.
132
+
133
+ After copying it to ``/boot ``/, "install" a new kernel with:
134
+ ``grubby --add-kernel /boot/vmlinuz-softest --title=softest ``. Check
135
+ ``grubby ``'s documentation for more details.
136
+
128
137
6. Install openssh-server
129
138
-------------------------
130
139
@@ -312,10 +321,21 @@ Save the following in sof-dev.conf.
312
321
#REBOOT_SCRIPT = ssh $SSH_USER@$MACHINE "sed -i 's|^default.*$|default test|' /boot/loader/loader.conf"
313
322
314
323
TEST_START
324
+ # TEST_TYPE can be: build, install, boot, ...
315
325
TEST_TYPE = boot
316
326
BUILD_TYPE = useconfig:${THIS_DIR}/sof-dev-defconfig
317
327
BUILD_NOCLEAN = 1
318
328
329
+
330
+ For Fedora and derived distributions, make the following changes:
331
+
332
+ .. code-block :: perl
333
+
334
+ GRUB_MENU = "title" of the kernel entry as displayed by: 'grubby --info=ALL'
335
+ GRUB_REBOOT = grub2-reboot
336
+ REBOOT_TYPE = grub2bls
337
+ POST_INSTALL = ssh -o 'ProxyCommand none' $SSH_USER@$MACHINE sudo dracut --hostonly --force --kver ${LOCALVERSION}
338
+
319
339
7. Build and test
320
340
-----------------
321
341
You can’t perform that action at this time.
0 commit comments