File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
# * @file install-debian.sh
2
2
# * @author Owen Boreham (owenkadeboreham@gmail.com)
3
- # * @version 0.1
3
+ # * @version 0.1.2
4
4
# * @date 2021-07-06
5
5
# *
6
6
# * @copyright Copyright (c) 2021 TinyKernel
@@ -42,12 +42,18 @@ if [ -d "build" ]; then
42
42
clean;
43
43
fi
44
44
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
46
52
echo " Installing QEMU & GRUB & xorriso:" ;
47
- echo " apt-get install qemu-system-x86" ;
53
+ echo " apt-get install qemu qemu -system-x86" ;
48
54
echo " apt-get install grub-common" ;
49
55
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;
51
57
52
58
sleep 0.5; # suspense...
53
59
# Create build dirs
@@ -114,4 +120,4 @@ while true; do
114
120
[Nn]* ) exit ;;
115
121
* ) echo " \nPlease enter <Y/n>" ;;
116
122
esac
117
- done
123
+ done
You can’t perform that action at this time.
0 commit comments