Skip to content

Commit 5425dc3

Browse files
authored
Fixed issues with requirements
Updated version to 0.1.2 Requirements: qemu grub xorisso binutils gcc
1 parent 23741e4 commit 5425dc3

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

install-debian.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# * @file install-debian.sh
22
# * @author Owen Boreham (owenkadeboreham@gmail.com)
3-
# * @version 0.1
3+
# * @version 0.1.2
44
# * @date 2021-07-06
55
# *
66
# * @copyright Copyright (c) 2021 TinyKernel
@@ -42,12 +42,18 @@ if [ -d "build" ]; then
4242
clean;
4343
fi
4444

45-
# Install QEMU
45+
# install requirements
46+
echo "Installing important requirements:";
47+
echo " apt-get install binutils";
48+
echo " apt-get install gcc";
49+
sudo apt-get -y --no-install-recommends install binutils gcc
50+
51+
# Install QEMU, Grub & xorriso
4652
echo "Installing QEMU & GRUB & xorriso:";
47-
echo " apt-get install qemu-system-x86";
53+
echo " apt-get install qemu qemu-system-x86";
4854
echo " apt-get install grub-common";
4955
echo " apt-get install xorriso\n";
50-
sudo apt-get install qemu-system-x86 grub-common xorriso;
56+
sudo apt-get -y --no-install-recommends install qemu-system-x86 grub-common xorriso;
5157

5258
sleep 0.5; # suspense...
5359
# Create build dirs
@@ -114,4 +120,4 @@ while true; do
114120
[Nn]* ) exit;;
115121
* ) echo "\nPlease enter <Y/n>";;
116122
esac
117-
done
123+
done

0 commit comments

Comments
 (0)