[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
slackwarearm:slackwareinstaller [2023/09/28 08:12 (UTC)] – mozes | slackwarearm:slackwareinstaller [2023/11/21 15:46 (UTC)] (current) – mozes | ||
---|---|---|---|
Line 18: | Line 18: | ||
- | === Naked Installer: Generic Initial RAM Disk === | + | ==== Naked Installer: Generic Initial RAM Disk ==== |
The AiO and Bare Installer packages target specific Hardware Models and enable booting from the SD card directly into the Slackware Installer. | The AiO and Bare Installer packages target specific Hardware Models and enable booting from the SD card directly into the Slackware Installer. | ||
- | The [[https:// | + | The [[https:// |
It's usually used to develop support for (presently) unsupported Hardware Models. | It's usually used to develop support for (presently) unsupported Hardware Models. | ||
// | // | ||
+ | |||
+ | This Installer image can also be used to boot a Hardware Model [[https:// | ||
The Naked Installer initrd image is used (unmodified) within the Bare Installers. | The Naked Installer initrd image is used (unmodified) within the Bare Installers. | ||
- | Created by the Slackware ARM [[https:// | + | ^ Created by ^ Refresh/ |
+ | | Slackware ARM [[https:// | ||
- | === Bare Installers for Supported Hardware Models === | + | |
+ | |||
+ | ==== Bare Installers for Supported Hardware Models | ||
[[https:// | [[https:// | ||
Line 38: | Line 44: | ||
Each image is packaged for a particular Hardware Model. | Each image is packaged for a particular Hardware Model. | ||
- | They are updated more frequently, with every kernel update (typically once every 2 weeks for -current). | + | These Installers package the //Naked Installer// in a format bootable on a specific set of supported Hardware Models. |
Users may choose to use the Bare Installers when: | Users may choose to use the Bare Installers when: | ||
Line 45: | Line 51: | ||
* The user already has the Slackware ARM repository locally and does not want to download the larger AiO image. | * The user already has the Slackware ARM repository locally and does not want to download the larger AiO image. | ||
+ | ^ Created by ^ Refresh/ | ||
+ | | [[https:// | ||
- | Created by the [[https:// | ||
- | === All in One (AiO) Installer for Supported Hardware Models === | + | ==== All in One (AiO) Installer for Supported Hardware Models |
- | [[https:// | + | The All in One Installers are modified //Bare Installer// images, including an additional partition containing the Slackware packages/ |
+ | |||
+ | The Slackware package set are included within the downloadable image. | ||
+ | This mimics a stable release of Slackware - a frozen set of packages are installed, and users upgrade (and continue to update) the OS using '' | ||
+ | |||
+ | The [[https:// | ||
- | The Slackware package set are included within the downloadable image. | ||
- | The Installer image is typically refreshed once a month. | ||
The AiO images are approximately 5GB (compressed) in size. | The AiO images are approximately 5GB (compressed) in size. | ||
Each image is packaged for a particular Hardware Model. | Each image is packaged for a particular Hardware Model. | ||
- | All users are encouraged to use the AiO Installers for supported Hardware Models. | + | **All users are encouraged to use the AiO Installers for supported Hardware Models.** |
- | Created by the All in One build system (//currently unavailable//). These are modified | + | |
+ | ^ Created by ^ Refresh/update cadence ^ | ||
+ | | [[https://slackware.uk/slackwarearm/platform/aarch64/bootware/src/|All in One build system (not presently available)]] | Typically once a month | | ||
Line 72: | Line 84: | ||
<note tip>If logging in over SSH, the root password is empty by default. | <note tip>If logging in over SSH, the root password is empty by default. | ||
+ | |||
+ | |||
+ | |||
+ | ====== Slackware Installer: Post Installation scripts ====== | ||
+ | |||
+ | The Slackware ARM installer supports an additional set of post installation scripts which help with the the various setup and configuration options. | ||
+ | |||
+ | ==== Slackware ARM post installation script execution flow ==== | ||
+ | |||
+ | === Primary Launcher === | ||
+ | |||
+ | < | ||
+ | # Script: / | ||
+ | # Sourced from: / | ||
+ | # Runs immediately prior to running the regular non-ARM scripts | ||
+ | </ | ||
+ | |||
+ | Runs everything within: ''/ | ||
+ | |||
+ | Example: | ||
+ | < | ||
+ | $ ls / | ||
+ | 000-env-postinst-setup | ||
+ | </ | ||
+ | |||
+ | They will be executed in order. | ||
+ | |||
+ | ==== Examining some post install scripts ==== | ||
+ | |||
+ | === Post install scripts: Hardware Model Helper scripts === | ||
+ | |||
+ | Hardware Model configuration helper script: ''/ | ||
+ | |||
+ | This script executes everything found within: ''/ | ||
+ | |||
+ | < | ||
+ | for platformscr in hwm-configure/ | ||
+ | hwm-configure/ | ||
+ | hwm-configure/ | ||
+ | hwm-configure/ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # Script......: | ||
+ | # Called from : / | ||
+ | </ | ||
+ | |||
+ | Fixes up the extlinux.conf for RPis to enable FDT within the RPi native BL. | ||
+ | Dependency: hwm-configure/ | ||
+ | As this creates the u-boot extlinux.conf config. | ||
+ | |||
+ | This will run in the correct order due to the file naming scheme. | ||
+ | |||
+ | |||
+ | === Post Install scripts: Remove Installer === | ||
+ | |||
+ | < | ||
+ | / | ||
+ | # Called from: / | ||
+ | </ | ||
+ | |||
+ | ** Notes: this needs to run AFTER the u-boot-configure script due to it removing the OS boot stanza template. | ||
+ | |||
+ | It will run afterwards due to the ordering provided by the file naming scheme | ||
+ | within ''/ | ||
+ | |||
+ |