diff --git a/README.md b/README.md index aaa7caa..293545b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,3 @@ -[![pipeline status](https://salsa.debian.org/freedombox-team/freedom-maker/badges/master/pipeline.svg)](https://salsa.debian.org/freedombox-team/freedom-maker/commits/master) -[![Debian Unstable](https://badges.debian.net/badges/debian/unstable/freedom-maker/version.svg)](https://packages.debian.org/unstable/freedom-maker) -[![Debian Testing](https://badges.debian.net/badges/debian/testing/freedom-maker/version.svg)](https://packages.debian.org/testing/freedom-maker) - # Freedom-Maker: The FreedomBox image builder These scripts build FreedomBox-images for various supported hardware @@ -13,9 +9,9 @@ during releases and for advanced users who intend to build their own images. Regular users who wish to turn their devices into FreedomBoxes should instead download the pre-built images. -Get a pre-built image via https://freedombox.org/download/. There +Get a pre-built image via https://cdimage.trisquel.info/trisquel-images/. There are images available for all supported target devices. You also find -the setup instructions on the [Wiki](https://wiki.debian.org/FreedomBox/). +the setup instructions on the [Wiki](https://trisquel.info/en/wiki/FreedomBox/). If you wish to create your own FreedomBox image, perhaps with some tweaks, see the *Build Images* section below. @@ -24,7 +20,7 @@ tweaks, see the *Build Images* section below. ## Supported Targets -Freedom-maker supports building for the following targets: +Trisquel Freedom-maker supports building for the following targets: | target | description | |-----------------------|-------------| @@ -42,25 +42,18 @@ Trisquel Freedom-maker supports building for the following targets: | *pine64-plus* | Pine64+ board's SD card | | *qemu-amd64* | 64-bit image for the Qemu virtualization tool | | *qemu-i386* | 32-bit image for the Qemu virtualization tool | -| *raspberry2* | RasbperryPi 2's SD card | -| *raspberry3* | RasbperryPi 3's SD card | -| *raspberry3-b-plus* | RasbperryPi 3 Model B+'s SD card | -| *raspberry64* | Single image for Raspberry Pi 3B, Raspberry Pi 3B+ and Raspberry Pi 4B | -| *virtualbox-amd64* | 64-bit image for the VirtualBox virtualization tool | -| *virtualbox-i386* | 32-bit image for the VirtualBox virtualization tool | ## Running Build -1. Fetch the git source of freedom-maker: +1. Fetch the 'freedom-maker' source code: ``` - $ git clone https://salsa.debian.org/freedombox-team/freedom-maker.git + $ apt source freedom-maker ``` 2. Install the required dependencies: ```shell $ sudo apt install binfmt-support btrfs-progs debootstrap dmsetup dosfstools fdisk git kpartx parted psmisc qemu-user-static qemu-utils sshpass sudo u-boot-tools xz-utils - $ cd freedom-maker - $ sudo apt build-dep . + $ sudo apt build-dep freedom-maker ``` 3. Build images: @@ -73,6 +62,7 @@ Freedom-maker supports building for the following targets: to run "parted". ``` + $ cd $(find -type d -name 'freedom-maker-*') $ sudo python3 -m freedommaker ``` where: <TARGET> is one of the 'Supported Targets' above. diff --git a/doc/freedom-maker.xml b/doc/freedom-maker.xml index 09c2f001..8c4abdd6 100644 --- a/doc/freedom-maker.xml +++ b/doc/freedom-maker.xml @@ -85,7 +85,7 @@ - Debian mirror to use for building + Trisquel mirror to use for building @@ -93,7 +93,7 @@ - Debian mirror to use in built image + Trisquel mirror to use in built image @@ -101,15 +101,7 @@ - Debian release to use in built image - - - - - - - - Add an extra Debian release component (other than main) + Trisquel release to use in built image @@ -208,12 +200,10 @@ - Image targets to build. Choose one or more of a20-olinuxino-lime, - a20-olinuxino-lime2, a20-olinuxino-micro, amd64, arm64, armhf, - banana-pro, beaglebone, cubieboard2, cubietruck, i386, lamobo-r1, - orange-pi-zero, pcduino3, pine64-lts, pine64-plus, qemu-amd64, - qemu-i386, raspberry2, raspberry3, raspberry3-b-plus, raspberry64, - vagrant virtualbox-amd64, virtualbox-i386 + Image targets to build. Choose one or more of freedommaker, + dreamplug, beaglebone, cubieboard2, cubietruck, + a20-olinuxino-lime,a20-olinuxino-lime2, a20-olinuxino-micro, + i386, amd64, qemu-i386, qemu-amd64, pcDuino3 @@ -236,8 +226,7 @@ $ freedommaker a20-olinuxino-lime a20-olinuxino-lime2 a20-olinuxino-micro amd64 arm64 armhf banana-pro beaglebone cubieboard2 cubietruck i386 lamobo-r1 orange-pi-zero pcduino3 pine64-lts pine64-plus - qemu-amd64 qemu-i386 raspberry2 raspberry3 raspberry3-b-plus raspberry64 - vagrant virtualbox-amd64 virtualbox-i386 + qemu-amd64 qemu-i386 Build all the available FreedomBox images using freedom-maker.