Commit 57167f2e authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Boot kernel for ARMv8 needs more memory to build - added 1GB swap

parent aeace909
......@@ -55,6 +55,10 @@ boot-armv7:
rm -rf linux-5.2.8
boot-armv8:
dd if=/dev/zero of=swap bs=1048576 count=1024
chmod 600 swap
mkswap swap
swapon swap
tar xf linux-5.2.8.tar.xz
mv config linux-5.2.8/.config
bash -c 'files=`ls -1 /kernelconfig/boot-linux-armv8` ; for config in $$files ; do cat /kernelconfig/boot-linux-armv8/$$config >> linux-5.2.8/.config ; done'
......@@ -67,6 +71,8 @@ boot-armv8:
cp -v linux-5.2.8/.config boot/config-5.2.8
ln -sf config-5.2.8 boot/config
rm -rf linux-5.2.8
swapoff swap
rm -rf swap
boot-x86_64:
tar xf linux-5.2.8.tar.xz
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment