Page 1 of 1

how to compile DietPi? Orange Pi Zero

Posted: Tue Feb 28, 2017 7:55 am
by sky59sky59
Yesterday I started compiling I found over here but it turned out to be Igor Pecovnik Armbian for Orange pi zero

I started it on my external HDD Ubuntu system running on ASUSeee 1005PXD and it last more than 5 hours...

So today I sleep at work as I went to bed at 01:00 :)

But my original question is, how to do the same for DietPi? Is it possible?
I found "master" but it is very limited amount of files and I do not know how to start it...?

I already have Armbian tools downloaded during yesterdays (this morning) attempt getting Armbian image about 2.7GB

Thank you!

Re: how to compile DietPi? Orange Pi Zero

Posted: Tue Feb 28, 2017 2:19 pm
by Fourdee
Hi,

Once you have built the ARMbian image (Jessie/Console), use the following to prep system for DietPi and optimize the base image:
https://github.com/Fourdee/DietPi/blob/ ... _DIETPI.sh

This is a manual process, start from the top and work your way down, copy and paste commands. Keep an eye out for cat commands, copy and paste the whole section, eg:

Code: Select all

cat << _EOF_ >> /etc/bash.bashrc
.....
stuff
....
_EOF_