DietPi Build Instructions, or Layer over base Debian Image? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
OnlyOnTuesday

DietPi Build Instructions, or Layer over base Debian Image?

Post by OnlyOnTuesday »

Hello,

I'm loving DietPi on my new Pine64. It handles all of the maintenance and optimizations needed so I can concentrate on using the Pine64 for its intended purpose.

But there's the rub: I need a 32 bit OS (to install/maintain Ubiquiti Unifi Controller via their repo's).

Given that I can get just about around in Linux/Debian but am far from a guru:

1) Are there instructions that would allow me to build DietPi for 32-bit on the Pine64?

2) If not option 1, is it possible to add the dietpi scripts/ and packages to a Debian (or Ubuntu) base image?
I see everything in GitHub but am not sure on how to use it.

Thanks,
Jordan

PS: @Fourdee and the other project contributors - thank's for all that you do. I know that much of these optimizations are available through manual commands, but DietPi is dead simple and pleasure to use.
OnlyOnTuesday

Re: DietPi Build Instructions, or Layer over base Debian Ima

Post by OnlyOnTuesday »

Looks like I'm up *ahem*'s creek.

All images I've found out there are 64 bit.

So less to solve my problem and now more a question of interest, is there a walkthrough for applying the wonder of DietPi to a basic os image?
User avatar
Fourdee
Site Admin
Posts: 2783
Joined: Tue Feb 06, 2007 1:36 pm

Re: DietPi Build Instructions, or Layer over base Debian Ima

Post by Fourdee »

OnlyOnTuesday wrote:Looks like I'm up *ahem*'s creek.

All images I've found out there are 64 bit.

So less to solve my problem and now more a question of interest, is there a walkthrough for applying the wonder of DietPi to a basic os image?
Hi Jordan,

All you need to prep a system for DietPi is a Debian Jessie minimal image (Ubuntu is not supported due to its vast number of different dependencies). Then you'll need to run through the commands here, to set it ready and optimize it for DietPi:
https://github.com/Fourdee/DietPi/blob/ ... .sh#L2-L18

If the UniFi software is a .deb package, you could try multi-arch on the 64bit OS.

Off the top of my head:

Code: Select all

dpkg --add-architecture armhf
apt-get update

#Install the WiFi package
dpkg -i WiFiPackage.deb

#At this stage it will complain about missing dependencies, try
apt-get install -f
It may work, it may not, it may need more changes. But only way to know is try :)
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