Editing Fedora28 kernel hardening, general installation, rpm building
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 276: | Line 276: | ||
dnf build-dep kernel | dnf build-dep kernel | ||
cd ps4-linux | |||
cp -rf config | |||
optional @EOF be sure to adjust embedded initramfs with the kernel as necessary or as a seperate initramfs | |||
cp ps4-custom-kernel.config to .config | |||
make menuconfig | make menuconfig | ||
Line 286: | Line 287: | ||
pulled from another site for decompressing / compressing the initramfs.img | |||
to extract initramfs.img to folder for kernel embedded compile | |||
lsinitrd initramfs.img | lsinitrd initramfs.img | ||
mkdir initramfs-extract | mkdir initramfs-extract | ||
this full path directory is specified in the kernel config, via make menuconfig to embed the initramfs as part of the | |||
kernel with make bzImage | |||
cd initramfs-extract | cd initramfs-extract | ||
Line 303: | Line 304: | ||
cd .. | cd .. | ||
(back in ps4-linux top level folder) | |||
<br />make -j8 bzImage | <br />make -j8 bzImage | ||
Line 313: | Line 312: | ||
exit (to exit the chroot environment) | |||
remove mount points | |||
umount /mnt/ps4/dev | umount /mnt/ps4/dev |