my_pi_os
A Raspberry Pi operating system maker
This is a highly configurable Minimal Operating System maker using your Pi for the Pi.
Because the Pi is Arm based, other test boxes are not supported.
It is a Net-Install of the OS pulling files from either mirrordirector.raspbian.org, or for rpi2's it can use ftp.us.debian.org for the packages.
-
Choose your build method
- Make a Image file.
- Make a Image file then write it to a sdcard at the end.
- Or just use make up a sdcard. If you choose this but no /dev/sdx if found it will make an image.
-
Choose if you want the LDXE_desktop
-
Choose the distribution for the Operating system a. wheezy b. jessie c. sid d. testing e. stretch
-
Pick weather you want to use the foundations bootloader/kernels or the no-kernel-bootloader/Debian kernels. For the no-kernel-bootloader option you must define the version of pi to get the correct kernel.
-
For rpi2 users you can choose to use ftp.debian for files, bootloader options are still valid, but rpi2 must be defined to work.
-
Define hostname, domain_name and root_password.
-
Pick your root file system ext4, btrfs or f2fs. ext4 has 4 different format options. For btrfs, you can choose apt-get or github tools if mkfs.btrfs is not found. For both btrfs and f2fs github tools, install is done to both the system and image/sdcard.
-
Either use dhcp or assign a static ip.
-
Define your timezone, locales and keyboard, or rem out or leave blank to use currect profiles from your pi.
-
List packages you want cdebootstrap to include or exclude, becarefull because dependencies are not checked. The only package I recommend including here is dphys-swapfile. The reason being is of you do it during any of the xxxx_stuff's it will make the default 2 times RAM size. Which is kind of big for the Raspberry Pi. We set the size to 100mb later and it will be created on first boot.
-
Lastly define the stuff you want apt-get to install, recommended way so dependencies are installed. For clearity this is broken down into 4 options, like the following example.
- rasp_stuff="libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc"
- basic_stuff="dbus fake-hwclock psmisc"
- net_stuff="ssh ntp"
- more_stuff="mlocate raspi-copies-and-fills raspi-config"