how to compile DietPi? Orange Pi Zero

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
sky59sky59
Posts: 27
Joined: Fri Jan 06, 2017 11:11 pm
Location: Ausria/Slovakia

how to compile DietPi? Orange Pi Zero

Post 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!
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: how to compile DietPi? Orange Pi Zero

Post 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_
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply