diff --git a/README.md b/README.md index 71d1388..0d59d3e 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,25 @@ # Yosild - Your simple Linux distro Yosild is a single shell script that builds a full, minimal Linux distribution, -based on BusyBox. It compiles the **latest stable kernel** (5.16.1) and the -**latest stable version of the BusyBox** (1.34.1). This script can prepare +based on BusyBox. It compiles the **stable kernel** 5.16.19 and the +**latest stable version of the BusyBox** 1.34.1. This script can prepare minimalistic Linux system for devices with little hardware resources. Yosild Linux -needs just **64 MB RAM** and **36 MB storage size**. *yosild.sh* requires +needs just **70 MB RAM** and **40 MB storage size**. *yosild.sh* requires [minimal][1] *Debian* or *Ubuntu* distro to run with the architecture compatible with the target device. -The script works with VirtualBox or KVM/QEMU (all drive types except VirtIO) - you -can create an additional virtual hard drive and install Yosild Linux on it, and -then connect this virtual disk to a new virtual machine - just like in my -[YouTube video][3]: +The script works with VirtualBox, Hyper-V and KVM/QEMU (all drive types except +VirtIO) - you can create an additional virtual hard drive and install Yosild Linux +on it, and then connect this virtual disk to a new virtual machine - just like in +my [YouTube video][3]:
Yosild creates probably the simplest, complete version of Linux, which makes it -easier to understand, how to build the system from scratch. It is much easier to -build than other, previously available solutions: Aboriginal, mkroot, Buildroot or -Linux From Scratch - just specify the target drive (virtual or flash drive) inside -the *yosild.sh* script and simply run the script. You can also rename the system -to make it your distribution. - +easier to understand, how to build the system from scratch and how to use it. +Yosild is much easier to build than other, previously available solutions: +Aboriginal, mkroot, Buildroot or Linux From Scratch. Just specify the target +drive (virtual or flash drive) inside the *yosild.sh* script and simply run the +script. You can also rename the system to make it your distribution. **Yosild**: @@ -46,6 +45,13 @@ Yosild is licensed under GNU General Public License v3.0. For more information please visit my website: [https://jm.iq.pl/yosild][2] +### Support + +You can transfer any funds you wish to my +*[PayPal account](https://www.paypal.com/paypalme/jaromaz)* if you want to +support this project. + + [1]: https://www.debian.org/CD/netinst/ [2]: https://jm.iq.pl/yosild [3]: https://www.youtube.com/watch?v=BPXxPZBBeJ0 diff --git a/yosild.sh b/yosild.sh index 25aa748..bea4572 100755 --- a/yosild.sh +++ b/yosild.sh @@ -1,7 +1,7 @@ #!/bin/sh - # --------------------------------------- -# Yosild 3.1.5 - Your simple Linux distro +# Yosild - Your simple Linux distro + version="3.2.1" # (c) Jaromaz https://jm.iq.pl # Yosild is licensed under # GNU General Public License v3.0 @@ -11,10 +11,10 @@ device="sdc" distro_name="Yosild" distro_desc="Your simple Linux distro" -distro_version="3.1.5" distro_codename="chinchilla" -telnetd="true" -kernel="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.1.tar.xz" +telnetd_enabled="true" +hyperv_support="false" +kernel="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.19.tar.xz" busybox="https://busybox.net/downloads/busybox-1.34.1.tar.bz2" # --------------------------------------- @@ -56,11 +56,11 @@ if [ $answer != "y" ] ; then cd busybox make defconfig - # BusyBox configuration ------ + # BusyBox configuration -------------------------------- sed 's/^.*CONFIG_STATIC.*$/CONFIG_STATIC=y/' -i .config sed 's/^CONFIG_MAN=y/CONFIG_MAN=n/' -i .config echo "CONFIG_STATIC_LIBGCC=y" >> .config - + # ------------------------------------------------------ make cd ../../ fi @@ -98,12 +98,21 @@ if [ $answer != "y" ] ; then rm linux-*.tar.xz mv linux* linux cd linux - make defconfig - # Linux Kernel configuration ----- - sed "s/Debian/$distro_name/" -i .config - # -------------------------------- +# Linux Kernel config -------------------------------------- +if [ "$hyperv_support" = "true" ]; then +cat <$distro_name httpd default page
ver. $distro_version
$distro_name httpd default page
ver. $version