Skip to content

Commit

Permalink
Hyper-V support
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromaz committed Apr 12, 2022
1 parent 04b8cff commit 6a5d3f0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions yosild.sh
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#!/bin/sh
# ---------------------------------------
# Yosild - Your simple Linux distro
version="3.2.1.B2"
version="3.2.1"
# (c) Jaromaz https://jm.iq.pl
# Yosild is licensed under
# GNU General Public License v3.0
# ---------------------------------------

# ----- Config --------------------------
device="sda"
device="sdc"
distro_name="Yosild"
distro_desc="Your simple Linux distro"
distro_codename="chinchilla"
telnetd_enabled="true"
hyperv_support="true"
hyperv_support="false"
kernel="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.14.tar.xz"
busybox="https://busybox.net/downloads/busybox-1.34.1.tar.bz2"
# ---------------------------------------
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -99,6 +99,7 @@ if [ $answer != "y" ] ; then
mv linux* linux
cd linux


# Linux Kernel config --------------------------------------
if [ "$hyperv_support" = "true" ]; then
cat <<EOF >> arch/x86/configs/x86_64_defconfig
Expand Down

0 comments on commit 6a5d3f0

Please sign in to comment.