Sysadmin Tools
Find a file
2022-10-24 03:25:32 +02:00
config Implement command line option and configuration handling 2022-10-24 03:25:32 +02:00
.gitignore Implement command line option and configuration handling 2022-10-24 03:25:32 +02:00
configuration.py Implement command line option and configuration handling 2022-10-24 03:25:32 +02:00
ktool Implement command line option and configuration handling 2022-10-24 03:25:32 +02:00
progver.py Implement command line option and configuration handling 2022-10-24 03:25:32 +02:00
README.md Implement command line option and configuration handling 2022-10-24 03:25:32 +02:00

Sysadmin Tools

Steps

Make kernel source

  • emerge -1
  • store kernel source
  • emerge unmerge
ktool mksrc

Prepare kernel source

  • load kernel source
  • add .config
  • make prepare
  • store prepared kernel source
ktool prepare

Build kernel source package

  • emerge -1b prepared kernel source package
ktool emergesrc

Build kernel & modules

  • make bzimage modules
  • store built kernel source
  • store built kernel
  • make modules_install
  • store built modules
ktool build

Build initrd

  • load built modules
  • build initrd
  • store initrd
ktool initrd

Build ucodes

  • build ucodes
  • store ucodes
ktool mkucodes

Install kernel

  • load ucodes
  • load built kernel
  • load built modules
  • emerge -1K prepared kernel source package
  • grub-mkconfig
ktool install