[2025-jun-17] The SlackDocs mailing lists at https://lists.alienbase.nl/mailman/listinfo have been retired. No one has been using these lists for years and it's time to say goodbye. The list archives remain available at https://scalzi.slackware.nl/mailman/listinfo/slackdocs
[2025-jun-17] The SlackDocs Wiki has moved to a new server, in order to make it more performant.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:slackware_admin:building_the_linux_kernel_using_git_repository [2013/12/19 03:21 (UTC)] – [Sources] metaschima | howtos:slackware_admin:building_the_linux_kernel_using_git_repository [2014/11/26 01:08 (UTC)] (current) – Added info about VFAT and EFI partitions metaschima | ||
---|---|---|---|
Line 403: | Line 403: | ||
This option is deprecated in favor of EFI Variable filesystem. It can [[https:// | This option is deprecated in favor of EFI Variable filesystem. It can [[https:// | ||
> **File systems** | > **File systems** | ||
- | You **MUST** either build-in the driver for the filesystem on which the kernel modules reside **OR** create an initrd, or the kernel will **NOT** boot. | + | You **MUST** either build-in the driver for the filesystem on which the kernel modules reside **OR** create an initrd, or the kernel will **NOT** boot. You should also build-in the driver for the filesystem |
- | >> CD-ROM/DVD Filesystems | + | |
- | >>> | + | |
- | You need this if you plan on reading or writing disks with the UDF filesystem. | + | |
>> DOS/FAT/NT Filesystems | >> DOS/FAT/NT Filesystems | ||
+ | >>> | ||
+ | >>> | ||
+ | You need these built-in if you use EFI. The kernel will boot if they are modules, but catch22 type situations can easily result. | ||
>>> | >>> | ||
>>> | >>> | ||
You need this if you want to write to NTFS filesystems. | You need this if you want to write to NTFS filesystems. | ||
+ | >> CD-ROM/DVD Filesystems | ||
+ | >>> | ||
+ | You need this if you plan on reading or writing disks with the UDF filesystem. | ||
>>> | >>> | ||
>>>> | >>>> | ||
Line 462: | Line 465: | ||
#!/bin/sh | #!/bin/sh | ||
# installs kernel only, this should be run only from the kernel source directory | # installs kernel only, this should be run only from the kernel source directory | ||
+ | |||
+ | error() # error | ||
+ | { | ||
+ | echo " | ||
+ | exit 1 | ||
+ | } | ||
# make sure we are root | # make sure we are root | ||
- | if test $HOME != '/ | + | if test ~ != '/ |
then | then | ||
- | echo 'ERROR: | + | error 'This script must be run as root' |
- | exit 1 | + | |
fi | fi | ||
Line 486: | Line 494: | ||
# for elilo | # for elilo | ||
- | if test -d / | + | bootdir=" |
+ | if test -d " | ||
then | then | ||
- | cp arch/ | + | cp arch/ |
fi | fi | ||
Line 500: | Line 509: | ||
echo ' | echo ' | ||
else | else | ||
- | echo ' | + | error ' |
- | exit 1 | + | |
fi | fi | ||
if cmp System.map / | if cmp System.map / | ||
Line 507: | Line 515: | ||
echo ' | echo ' | ||
else | else | ||
- | echo ' | + | error ' |
- | exit 1 | + | |
fi | fi | ||
if cmp .config / | if cmp .config / | ||
Line 514: | Line 521: | ||
echo ' | echo ' | ||
else | else | ||
- | echo ' | + | error ' |
- | exit 1 | + | |
fi | fi | ||
- | if test -d / | + | if test -d " |
then | then | ||
- | if cmp arch/ | + | if cmp arch/ |
then | then | ||
echo ' | echo ' | ||
else | else | ||
- | echo ' | + | error ' |
- | exit 1 | + | |
fi | fi | ||
fi | fi |