Commit Graph

650 Commits

Author SHA1 Message Date
Igor Pecovnik
2efd215a41
Proper fix for ramdisk corruption seen on Focal / Bullseye
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-03 08:47:03 +02:00
Igor Pečovnik
a1a20f4572
Implement a possible workaround for initird corruption (#2004)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-02 16:40:41 +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
Igor Pečovnik
0832201958
Rework of image signing. (#1995)
* Rework of image signing. We compress the image first, then signing and shaing that.

Based on @belfastraven work https://github.com/belfastraven/build/blob/pre-new-doc/lib/debootstrap.sh

* Uncompressed images can be removed

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-28 15:52:44 +02:00
zciendor
a0d6f21ac7
various minor fixes (#1993)
* fix permisson denied error happening in line 79

`mktemp` creates files with `-rw-------` (on Ubuntu bionic at least), which causes `line 79` to throw a permission denied error if the file isn't world readable.

* fixes umount error caused by single quotes

* force metadata duplication for btrfs root

Without this change metadata duplication is automatically turned off for `mkfs.btrfs` when the **build system** has a SSD drive.
However, since Armbian image is most likely flashed to a SD card afterwards, the drive type of the build host system should not be the deciding factor.
Metadata duplication is a good idea (better reliability) to have on a SD card.

From `man mkfs.btrfs`:
```
-m|--metadata <profile>
           Specify the profile for the metadata block groups. Valid values are raid0, raid1, raid5, raid6, raid10, single or dup, (case does not matter).

           A single device filesystem will default to DUP, unless a SSD is detected. Then it will default to single.
```
2020-05-28 10:52:54 +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
zciendor
f63d07e7ec
make sure cryptsetup-initramfs is installed in any case (#1991)
* fix for https://github.com/armbian/build/issues/1584

Since Debian buster the final `update-initramfs` call must be made
on the finished image where the final root device is mounted, else
`cryptsetup-initramfs` hooks fail to detect the root device.

* Merge remote-tracking branch 'upstream/master'

* make sure cryptsetup-initramfs is installed in any case if CRYPTROOT_SSH_UNLOCK is configured

Before Debian **bullseye**, `cryptsetup-initramfs` was a hard dependency of the `cryptsetup` package. Not anymore.
Therefore we need to install `cryptsetup-initramfs` explicitly, else CRYPTROOT_SSH_UNLOCK won't work.
2020-05-28 10:48:32 +02:00
Igor Pečovnik
fe36958241
Add Odroid C4 legacy build (#1983) 2020-05-25 19:22:16 +02:00
xwiggen
93b690c22f
Require fping for armbianmonitor -u (#1986) 2020-05-24 15:58:43 +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
53e4bc2d38
Armbian firmware recreation and image upload bugfix
Cleaning was improper in case of retries

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-19 17:43:48 +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
Igor Pečovnik
a0f9d7af80
Move imx6 current to 5.6.y (#1903)
* Move imx6 current to 5.6.y
* Config update
2020-05-17 18:35:21 +02:00
Igor Pečovnik
9130021688
Implement temporally fix for Chrony (#1968) 2020-05-16 10:28:57 +02:00
tweenietomatoes
b73e9e0779
New debian mirror link (#1967) 2020-05-16 10:00:46 +02:00
Igor Pečovnik
f054caca02
Switching Odroid C1 boot partition to FAT (#1964)
* Switching Odroid C1 boot partition to FAT

U-boot FAT driver is very unstable and there is no wish to dig into u-boot. Seems like a sane workaround @plntyk

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

* Add notes for separate boot partitions

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

* Typo

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

* Bugfix: use zImage for converting to uImage since on FAT partitions we use move

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

* Cleanup C1 boot scripts

We have no plans to ever support legacy kernel again. Removing related things

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

* A bit more radical change. Moving meson current to (new) legacy, current to 5.6.y and dev to some development branch / commit.

* Remove unneded patch

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-15 21:50:26 +02:00
Igor Pecovnik
7f5927d91f
Bugfix: attaching wireless driver to last known working commit it
drivers/net/wireless/rtl8811cu/include/../os_dep/linux/ioctl_cfg80211.h:372:94: error: missing binary operator before token '(' https://github.com/brektrou/rtl8821CU/pull/55

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-14 09:44:22 +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 Pecovnik
e57aaf6556 Internal switch - make the same nightly images as for stable one. For making RC targets. 2020-05-10 12:21:21 +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
f4096d392c Disable Realtek 8723DS for older kernels. It breaks on 4.4.y 2020-05-07 11:10:14 +02:00
Igor Pecovnik
25eff65004 Add variables to build-all 2020-05-06 21:50:48 +02:00
Piotr Szczepanik
3cbe24ba11 Added python3-distutils to host deps - needed by mainline u-boot for rk3328 2020-05-06 18:05:20 +02:00
Igor Pečovnik
3c61732ce6
Attach XU4 DEV to Chewit DEV branch (#1944) 2020-05-05 19:04:23 +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
fb4da478e3
Enable RTL8723DS for all kernels
Driver troubles were fixed upstream and now it builds everywhere

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-05-03 11:35:37 +02:00
Werner
1a5b1b6e9d
RTL8723DS switch to upstream (#1938)
* 8723DS: Go back upstream

and remove 5.6 patch

* Delete wireless-rtl8723ds.patch

No longer needed.
2020-05-03 09:29:26 +02:00
Igor Pečovnik
9390ea27b4
Enable AUFS on DEV kernels (#1937) 2020-05-03 01:15:16 +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
Neil Armstrong
07447294c7
Add support for Odroid c4 (#1923)
* meson-sm1: use amlogic-boot-fip to generate boot binary for SM1

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* patch: add Linux and U-Boot patches

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>

* configs: enable Odroid-C4

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2020-04-27 18:03:48 +02:00
Werner
bface71887
Remove Xenial from supported host OS (#1918)
* Remove Xenial from supported host OS

... and adjust comments.

I'd suggest add `tricia` as codename for Linux Mint based on Bionic somewhere but not sure where to put it.

* Add Debian Buster and Linux Mint

compatible build hosts

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-04-27 12:21:50 +02:00
Werner
f78591db5b
Fixes building on Linux Mint Tricia (Bionic based) (#1914)
* Replace apt with apt-get unless in chroot
* Improve support for Buster and Mint Debbie

Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
2020-04-25 21:25:05 +02:00
Igor Pecovnik
887ef462fc
Declare Ubuntu Focal as supported rootfs
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-23 23:46:06 +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
cc98ba3c0d
Disable MESA on bionic (#1895)
Also enable xfce4 power manager on some boards

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-17 21:29:06 +02:00
Igor Pečovnik
1121f52162
Refreshing rootfs cache 2020-04-17 09:16:51 +02:00
Hugo
88f2596744
USB FEL working inside docker (#1892) 2020-04-16 18:26:45 +02:00
Igor Pecovnik
207548cb8f
Improve RAW image compressing routines
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-12 22:28:37 +02:00
Igor Pecovnik
34d3529d16
Bugfix: add missing dependency to armbian-config
Closes https://github.com/armbian/config/issues/88

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-08 17:32:49 +02:00
Igor Pecovnik
49a6c4a4af
Bugfix: remove 5.6.y support in wifi patch
They were integrated upstream and breaking compilation on 5.4.y

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-08 13:12:06 +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
7aacfb8824
Remove deprecated patches
Upstream driver has now support for K5.5->

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-06 14:20:48 +02:00
Igor Pečovnik
4fe804b399
Enabling Ubuntu 20.04 and Debian 11 build targets (#1872) 2020-04-05 22:25:15 +02:00
Igor Pečovnik
dd50c432f8
Bugfix - fixed wrong fs cache creation when forcing creation (#1869) 2020-04-05 14:05:10 +02:00
Igor Pecovnik
3479b590e0
Improve images uploading
Select faster SSH chiper to speed up a bit

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 22:30:22 +02:00
Igor Pecovnik
b607b666b3
Improve XZ compression support
Cleanup after upload, download scripts also supports this format

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-04-04 21:04:34 +02:00
Igor Pečovnik
874149e6ad
Add support for xz image compression format (#1868)
Our next default.
2020-04-04 18:29:42 +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