Commit Graph

221 Commits

Author SHA1 Message Date
Florian Vallee
49fb6550dd
Fix a bunch of small cryptroot image builds issues (#2195)
* Dockerfile update

Add package to fill-in missing ssh-keygen dependency

(required by lib/distributions.sh when CRYPTROOT_ENABLE is true)

* lib/chroot-buildpackages.sh: Fix mistakes with shellcheck linting

This breaks the apt command line, resulting in the following error:

> E: Invalid operation

* lib/configuration.sh: cryptroot >= 2.1 uses memory intensive key derivation

fix that by reverting to the < 2.1 default algorithm (pbkdf2)
2020-09-09 15:15:52 +02:00
iav
ad3f403246
set Btrfs compression creation time only (#2169)
* set default btrfs compression at image creation to zlib according to
https://github.com/armbian/build/pull/2163#issuecomment-683444245

* never set compression in /etc/fstab for btrfs root

* adjust comment
2020-08-31 16:31:15 +02:00
Igor Pecovnik
94963e694f Bump rootfs version due to a bug in previous torrent recreation 2020-08-30 22:18:35 +02:00
Igor Pecovnik
4d4d796d39 Bump rootfs cache 2020-08-28 21:35:41 +02:00
iav
0db07f6137
respect BTRFS_COMPRESSION parameter (#2163) 2020-08-28 18:44:37 +02:00
Igor Pečovnik
a4dfc35ddb
Bump rootfs 2020-08-28 01:20:43 +02:00
Igor Pečovnik
1e8a9b0ea0
Rebuild rootfs cache 2020-08-23 20:52:19 +02:00
Igor Pecovnik
6d3cd058a0 Bump rootfs version 2020-08-04 15:16:39 +02:00
Igor Pecovnik
7cb7de30be Revert "Workaround for Snap-less Chromium on Focal by downloading it from Debian (#1982)"
This reverts commit faac552921.
2020-08-04 15:16:09 +02:00
Igor Pecovnik
7a59407557 Revert rootfs changes. Need more testings. 2020-08-02 08:56:52 +02:00
Igor Pecovnik
ad34b54d08 First login fine tunning 2020-08-02 00:53:15 +02:00
Igor Pečovnik
1f88f0d573
Move selinux-policy-default to per release (#2113)
Its missing in Bullseye which breaks rootfs cache creation
2020-07-24 12:48:20 +02:00
Igor Pecovnik
4947af7bf7 Added few support packages to the base
They are needed to test / deploy https://github.com/armbian/build/pull/2081
2020-07-08 16:52:14 +02:00
Igor Pečovnik
8ea083ae36
Rebuild rootfs cache 2020-06-26 08:56:46 +02:00
Igor Pečovnik
2e764387ee
Rebuild rootfs cache 2020-06-25 11:09:02 +02:00
Manuel Rüger
4555a7aed5
Shellcheck fix4 (#2061)
* compilation.sh: Lint with shellcheck

* configuration.sh: Lint with shellcheck

* debootstrap.sh: Lint via shellcheck

* Update configuration.sh

* Update compilation.sh

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-06-25 11:07:24 +02:00
Igor Pečovnik
8b350f386f
Mini bugfixes related to shellcheck and changes to beta building (#2057)
https://github.com/armbian/build/pull/2054
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-24 13:16:25 +02:00
Igor Pečovnik
6d40284374
Rebuild cache
https://github.com/armbian/build/pull/2044
2020-06-21 12:33:10 +02:00
Igor Pečovnik
bfacc6cd89
Install SELinux related userland packages (#2014)
* Install SELinux related userland packages

But leave it disabled by default. Todo: add toggle to armbian-config
2020-06-17 19:43:04 +02:00
Igor Pečovnik
ca67855553
Add GPT partition table support (#2015)
* Add GPT parition table support               Leave unchanged / mbr by default since GPT doesn't works everywhere.

* Accept ROOTFS_PARTITION_TABLE as a parameter

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Change variable name

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>

* Update README.md
2020-06-14 23:03:58 +02:00
Igor Pecovnik
256d08fe11
Bugfix: fdisk package is absent in older versions
Redistribute accordingly https://github.com/armbian/build/pull/1992 and bump with fscache version.

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-29 09:36:48 +02:00
zciendor
a5815c6350
bullseye: armbian-resize-filesystem fails on first run due to missing fdisk (#1992)
* armbian-resize-filesystem fails on first run due to missing fdisk

The `fdisk` package is missing in the `minimal` image, in bullseye at leat. Maybe other, future minimal images as well.
This will cause the `armbian-resize-filesystem` script to fail on first boot, which contains several
`fdisk` references. This could be fixed in the `bullseye` specific section, but since fdisk is so
essential for Armbian, it's probably best to list it in the general, mandatory packages to make sure it's available in every image in any case.
2020-05-28 10:50:56 +02:00
Igor Pečovnik
faac552921
Workaround for Snap-less Chromium on Focal by downloading it from Debian (#1982)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-22 00:26:27 +02:00
Igor Pecovnik
58eb77aab2
Cache rebuild due to upstream Debian repository changes
https://github.com/armbian/build/pull/1967
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-17 23:35:51 +02:00
tweenietomatoes
b73e9e0779
New debian mirror link (#1967) 2020-05-16 10:00:46 +02:00
Igor Pečovnik
76b79a2f51
Fixing desktop install on Ubuntu Focal / Eean (#1963)
* Fixing desktop install on Ubuntu Focal / Eean

Changed dependencies for Network manager automatically install Gnome3 desktop unless certain packages are installed first. Fixing with pre-depends package feature. Tested on arm64, desktop install on top of CLI image

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-12 20:27:51 +02:00
Igor Pečovnik
26d377cd2a
Adding new feature REPOSITORY_INSTALL (#1933)
* Rework packages install that they can be installed from repository instead of local compile. Handy for making releases.
* Don't build ATF if you don't build u-boot
2020-05-10 14:36:22 +02:00
Igor Pečovnik
13e3df0cc9
Bump with cache version
There has been some minor changes in the packages within minimal images. We need to rebuild the cache otherwise it run deboostrap.
2020-05-08 22:25:20 +02:00
Igor Pecovnik
bbaddc8aaa
Bugfix: moving iozone3 package to the minimal base
Solves https://forum.armbian.com/topic/13920-bananapi-pro-buster-minimal-image-partly-broken

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-03 19:02:53 +02:00
Igor Pecovnik
b85d698da8
Fix wrong repository URL in /etc/armbian-release
Closes https://github.com/armbian/build/issues/1878

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-30 21:43:21 +02:00
Igor Pecovnik
d1f35ba227
Rootfs cache recreation
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-23 22:53:30 +02:00
Przemysław Sztoch
d07647e5ce
Better logging for external userpatches path and generate a lot of empty folders only once (#1897)
* Better logging for external userpatches path.
* Genrate a lot of empty folders only once
* Better handling for COMPRESS_OUTPUTIMAGE
2020-04-20 08:39:29 +02:00
Igor Pečovnik
1121f52162
Refreshing rootfs cache 2020-04-17 09:16:51 +02:00
Igor Pecovnik
113f574e70
Bugfix for Debian Bullseye
Replacing nrg-tools with haveged

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-06 18:48:30 +02:00
Igor Pecovnik
03835a4b36
[Infrastructure] Update rootfs cache
Used for building image

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 10:45:38 +02:00
Piotr Szczepanik
fe82401b09
Set the default value for $SERIALCON lazily (#1845) 2020-03-17 20:05:12 +01:00
Igor Pecovnik
2f0549cdfe
[general] Bump with root filesystem cache number
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-03-10 20:06:06 +01:00
Igor Pecovnik
26eb341db1
[ infrastructure ] Update rootfs cache 2020-03-09 15:44:30 +01:00
Igor Pecovnik
a9b6665979
[ bullseye ] Removing non-existing package 2020-03-03 20:46:41 +01:00
Igor Pecovnik
643202fa07
[ bugfix ] Re-adding Python to minimal images due to failed attempt to provide them without.
This also fixes and closes https://github.com/armbian/build/pull/1828
2020-03-03 17:48:04 +01:00
Dirk Weigenand
b9a589124d
Align location of source override with test for its existance when sourcing it. (#1782) 2020-02-13 20:35:34 +01:00
zhangn1985
d6e13612d1
allow - in hostname (#1799)
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2020-02-13 20:31:20 +01:00
Igor Pecovnik
aa6d56dab3 Bugfix - Focal desktop was not building.
Updating kernel configuration for Rockchip, bump with rootfs version due to cache recompile, adding kernel config for rockchip DEV, attached to 5.5.y
2020-02-08 10:12:47 +01:00
Igor Pecovnik
871c2e89cc Bugfix: Modern Ubuntu versions have broken command-not-found. Removing. https://bugs.launchpad.net/command-not-found/+bug/1824000 2020-02-04 20:07:07 +01:00
Igor Pecovnik
1bf608e1ca Bump with rootfs cache version and adjust board name display. 2020-01-22 19:57:16 +01:00
Igor Pečovnik
ae1737eeb5
Removing http from variable
Closing https://github.com/armbian/build/issues/1726
2020-01-08 14:01:21 +01:00
Igor Pecovnik
f0e5086f97 Bump with version of freshly recreated rootfs cache 2020-01-07 19:42:21 +01:00
Igor Pečovnik
9b8116b75f
Cosmetic fix 2020-01-06 23:52:36 +01:00
zhangn1985
3e38b4b715 build optimize for upstream (#1713)
* add tuna debian-security mirror

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* replace apt-get with apt

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>

* speed up desktop build

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2020-01-06 23:45:28 +01:00
Igor Pecovnik
3e7dd378ec Rebuild all rootfs cache, minor fix for focal 2019-12-15 19:52:45 +01:00