Generating Image from Source Topic is solved

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

Generating Image from Source

Post by borrisl »

I'm new, and looking for some guidance. I'd like to generate my own image from souce. I've looked at the github repository and studied the PREP_SYSTEM_FOR_DIET.sh and am a little confused as to the how part.

Do I use a chroot?
I'm assuming a cross compile, what compiler do I use?

Just looking for some basic steps to get this done.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Generating Image from Source

Post by Fourdee »

Hi,

Before you can prep an image for DietPi and run those commands, you'll need a Debian minimal image.

For the most part, we use official images (eg: Raspbian Lite). For the OPi/NanoPi boards, we mostly use ARMbian build tools to generate the initial image: https://github.com/igorpecovnik/lib

Once you have an image, and running on the target board, you can then go through PREP_SYSTEM_FOR_DIET.sh, to prep system for DietPi. Once done, read image, resize 2nd partition (+50MB of min), done :)
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