Commit graph

81 commits

Author SHA1 Message Date
Igor Pečovnik
bb1384a52e
Desktop fails to start if auto login is disabled - lightdm-gtk-greeter bug (#2609)
* Apply a fix for lightdm-gtk-greeter bug

Applied at 1st run but can probably be moved to build

* Move fix rather to BSP so fix will be applied to upgrade
2021-02-03 20:17:36 +01:00
Igor Pecovnik
5bdf27b876 Bugfix - don't delete 50unattended-upgrades on every update
Closing https://github.com/armbian/config/issues/117
2020-12-03 13:06:42 +01:00
Igor Pečovnik
3ddd91de71
Add several small improvements for building all images (#2365)
* Add several improvements for build all images / kernels
* More small fixes
* Adjust version
2020-11-22 08:54:41 +01:00
Igor Pečovnik
fc3e56bf7a
Left overs (#2330)
* Cosmetical: exchange mv with rsync

Also make build script output less chatty to console. Show SD and mount size % only.

* Leave output here

* Add delete after option
2020-11-11 19:29:50 +01:00
Igor Pečovnik
694b2313dd
Cosmetical: exchange mv with rsync (#2329)
* Cosmetical: exchange mv with rsync

Also make build script output less chatty to console. Show SD and mount size % only.

* Leave output here
2020-11-11 19:25:51 +01:00
Igor Pecovnik
9b12d2907f Improve multicore build process by make use of overlays and uniqie temporally build directories 2020-10-21 15:31:32 +02:00
Igor Pecovnik
e395961f77 Cosmetic bugfix + motd updating script
Motd updating script should be moved under proper service later on
2020-09-08 23:07:37 +02:00
Igor Pečovnik
eacb9df728
Update os-version and motd also on update (#2196) 2020-09-08 19:41:22 +02:00
Igor Pecovnik
279c08889c Bugfix: re-disable acceleration on Bionic since mesa drivers are too old 2020-08-03 05:46:46 +02:00
Igor Pecovnik
ad34b54d08 First login fine tunning 2020-08-02 00:53:15 +02:00
Igor Pecovnik
436a5681b5
Proper fix for ramdisk corruption seen on Focal / Bullseye
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2020-06-03 08:45:30 +02:00
xwiggen
93b690c22f
Require fping for armbianmonitor -u (#1986) 2020-05-24 15:58:43 +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
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 Pecovnik
3e9f46d3cd Few last bug fixes 2020-02-17 01:52:08 +01:00
JMCC
59d008816c
Fix temporarily disabling glamor for bionic due to Mesa bug 2020-02-15 22:01:28 +01:00
Igor Pečovnik
0ca5a8dd29
Bugfix - Network manager randomizing MAC (#1780) 2020-02-04 18:25:30 +01:00
Igor Pečovnik
74a2e23f8a
Implement a workaround for Bionic Mesa related issues (#1760)
Closing [AR-152]
2020-01-23 22:40:49 +01:00
Zhang Ning
9f3013a5f2 remove rootfs debs depends on python-apt
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-12-31 15:13:42 +08:00
Igor Pečovnik
e6ad392f85
[AR-103] Bugfix: Adding repository via PPA doesn't find & set proper release name. (#1677) 2019-12-16 12:58:42 +01:00
Igor Pečovnik
150ac0c2af
Remove K<4, change branches, new features (#1586)
AR-1 - Adding support category for distributions
AR-4 - Remove Allwinner legacy
AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family
AR-9 - Rename sunxi-next to sunxi-legacy
AR-10 - Rename sunxi-dev to sunxi-current
AR-11 - Adding Radxa Rockpi S support
AR-13 - Rename rockchip64-default to rockchip64-legacy
AR-14 - Add rockchip64-current as mainline source
AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y
AR-16 - Rename RK3399 default to legacy
AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y
AR-18 - Add Odroid N2 current mainline
AR-19 - Move Odroid C1 to meson family
AR-20 - Rename mvebu64-default to mvebu64-legacy
AR-21 - Rename mvebu-default to mvebu-legacy
AR-22 - Rename mvebu-next to mvebu-current
AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y
AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6
AR-26 - Adjust motd
AR-27 - Enabling distribution release status
AR-28 - Added new GCC compilers
AR-29 - Implementing Ubuntu Eoan
AR-30 - Add desktop packages per board or family
AR-31 - Remove (Ubuntu/Debian) distribution name from image filename
AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files
AR-33 - Revision numbers for beta builds changed to day_in_the_year
AR-34 - Patches support linked patches
AR-35 - Break meson64 family into gxbb and gxl
AR-36 - Add Nanopineo2 Black
AR-38 - Upgrade option from old branches to new one via armbian-config
AR-41 - Show full timezone info
AR-43 - Merge Odroid N2 to meson64
AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
2019-11-19 23:25:39 +01:00
Igor Pečovnik
0d0cd7f191
Remove Debian Jessie (#1560) 2019-09-16 22:13:55 +02:00
Igor Pečovnik
1221d59233
Build all targets RFC (#1515)
* Introducing build-all-ng
* Implementing REBUILD_IMAGES='board1,board2,...' for rebuilding certain images only
* Add optimisations when building kernels - only cycle trough needed targets. Adding variable for defining whether an image is build, otherwise only BSP is made.
* repository manipulating RFC
* Add bianco deb file that is added by default if repository is clean
* Switch to gpg2 signing method, small bugfix
* Create subdir for debs and debs-beta
* Synaptic bugfix: installing indexing tools https://forum.armbian.com/topic/8021-orange-pi-one-synaptic-package-manager-search-very-slow/?do=findComment&comment=74918
* add all modules by default to Odroid N2, but leave them commented
* Bugfix: not making any builds when selecting kernel_only
* Remove EXTERNAL=yes ... move armbian-config and armbian-firmware into main compilation area, drop others since they are deprecated anyway. This will also enable multi threaded images making
* Move armbian.list to create_sources_list function. Replace NTP by Chrony. Remove armbian-firmware from PACKAGE_LIST and RockPi 4A (#1528)
* Replace NTP by chrony. Remove installion of outdated armbian-firmware from reposity.
* added RockPi 4A
* New format for board config
* Fix Bluetooth dependencies for minimal package - add rfkill to family related installs
* Moving networkd-dispatcher from minimal image
* Cubox-i: update default config
* Improving umount process
* Add purgesource feature
* Add FULL_DESKTOP to install few more applications on top of our desktop - notebooks should * rk3399 default: adjust patches and configuration
* Enable full desktop on most powerfull boards and notebooks

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-01 22:13:13 +02:00
Igor Pečovnik
f416c35c16
Adding minimal image (#1504)
* Minimal build setup (#1463)
* Netplan folder check & armbian-tools dependency on expect (and tcl) solved (#1464)
* Prevent netplan configration if it is not installed
* Resolved expect dependecy of armbian-tools
* More packages added for armbian-tools
* Added python3-apt and rsyslog to minimal installation
* Debootstrap variant doesn't play nice. We loose networking and it affects standard builds as well. Removing.
* Python-to-Bash conversion (#1470)
* Remove python3-apt dependency from BSP package, fix netplan error also on Disco and putting back varint=minbase ... tested Disco, Bionic
* Distinguish package list: *-minimal.list and *-desktop.list
* Enable Wireguard back which was removed by mistake. https://github.com/armbian/build/issues/1471
* Having minbase debootstrap variant for all will require further adjustements with current package base - backward compatibility. Minimal image is now Python free but need further testings ...
* Add wireless-regdb and crda to the pakage base, fix Ubuntu keyring warning while debootstrap.
* Add figlet to sort out missing fonts
* Moving few packages here and there. Bugfix when creating a cache package list
* Manually compared base images - they are the same with small insignificant difference. Minimal image has to be futher tuned
* Adjustements for bash powered lsb_release, adding some needed packages
* Fixed (no) network problems on Bionic/Disco
* Add rsync to debootstrap_list and few minor fixes
* Adjust text in lsb_release
* Olimex Micro A20: fix wrong boot config
* Remove duplicate depenedency
* Odroid C1: adjust kernel config
2019-08-16 19:21:12 +02:00
Igor Pečovnik
da86ab5df5
Cosmetics (#1404)
- changed display manager to lightdm by default and remove nodm completly
- desktop login manager enabled by default, toogle can be done with armbian-config
- added URL to the build script and commit hash to /etc/armbian-release file
- added debconf-utils,html2text,mmc-utils,sunxi-tools to the base and additional pkg list
- added synaptic package manager and onboard keyboard to the desktop base
- changed motd console welcome text to: Welcome to Debian Stretch with Armbian Linux 5.1.6-sunxi
- added "logout" to the panel/menu
- added normal users to additional groups: disk tty users games
2019-06-11 00:24:46 +02:00
Manuel Rüger
bffdfcd7f0 Apply shellcheck recommendations (#1389)
* compile.sh: Apply shellcheck recommendations

* lib/upgrade.sh: Apply shellcheck recommendations

* lib/main.sh: Apply shellcheck recommendations

* lib/desktop.sh: Apply shellcheck recommendations

* lib/makeboarddeb.sh: Apply shellcheck recommendations
2019-05-30 22:19:53 +02:00
Jorik Jonker
e606326685 Fix boad-deb dependencies
The packages 'recommend' python3-apt, while it simply does not work
without this package:

  Traceback (most recent call last):
    File "/usr/lib/armbian/armbian-apt-updates", line 25, in <module>
      import apt_pkg
  ModuleNotFoundError: No module named 'apt_pkg'
2019-05-27 06:20:04 +00:00
Igor Pecovnik
3a16e92934 [ buster / disco ] fixing chroot-buildpackages dependency and typo fix 2019-04-19 17:19:28 +02:00
m][sko
24c81d1b05 Ubuntu 19.04 support (#1351)
* ubuntu 19.04 support

* ubuntu 19.04 support 2

* ubuntu 19.04 support 3

* add netplan config
2019-04-19 17:14:57 +02:00
Igor Pecovnik
b92f11e89a [ added Debian buster ] Initial commit. It builds, but its not tested nor fine tuned. 2019-04-17 21:39:54 +02:00
Igor Pecovnik
15032e0f4d [ general ] bugfix 2019-02-08 16:08:44 +01:00
Gauthier Provost
93ba3ec3dd [ General ] Move bootscript update to nand-sata-install 2019-01-21 11:44:24 +08:00
Igor Pečovnik
818bce0664
typo 2018-12-30 18:23:06 +01:00
Igor Pecovnik
9c7d8d9e5e [ bugfix ] Alter fstype when recreating bootscripts 2018-12-30 18:17:46 +01:00
Gauthier Provost
14452e25e6 Helios4: Changes / fixes related to bootscript issue (#1169)
* helios4: next branch use u-boot 2018

use new u-boot based on upstream 2018

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* helios4: Tweak fancontrol configuration

Adjusted MINSTART and MINSTOP to suit both old and new fan.
Adjusted TEMP threshold so fan would stop or run in minimal speed when
the system idle.
Fixed wrong MINPWM value.

URL:https://wiki.kobol.io/pwm/#configuration-file
Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* kernel: mvebu-next: use upstream helios4 dts

Helios4 device tree has been merged on upstream since 4.19.
Rework the patch to produce same device tree.

URL:https://patchwork.kernel.org/patch/10449393/

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: Use boot-mvebu-next bootscript

Use boot-mvebu-next.cmd that make use of upstream's Generic Distro
Configuration.
Since loadaddr and fdt_addr varibales are no longer required, remove the
patch.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Helios4: mvebu-next: Add workaround for SPI and SATA concurrent access issue

Concurrent access on SPI NOR and SATA drives can lead to unstable SATA.
Therefore as workaround, disable SATA controller when SPI flash access
is needed and make it as user configurable item in armbianEnv.txt

This workaround might applies to Clearfog too.

Refer to
Commit 59af84c07c ("Helios4: Add SPI bootloader install feature
(#1126)")

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* Bootscripts: Fixed boot-mvebu-next.cmd

The environment setting (armbianEnv.txt) is loaded to RAM located on
${load_addr} but the env import use wrong address (${pxefile_addr_r}).

bootargs still expect ${boot_interface} which carried over from boot-
marvell.cmd. Upstream's distro configuration use ${devtype} instead.

Signed-off-by: Aditya Prayoga <aditya@kobol.io>

* uboot: mvebu-next: only apply DT fixup script if it exists

* [ buildscript ] Add FORCE_BOOTSCRIPT_UPDATE option

If enabled bootscript will get updated during bsp upgrade.

* Helios4: Enable FORCE_BOOTSCRIPT_UPDATE by default in board config.

* Helios4: Added boot-marvell.cmd compability to u-boot 2018

Revert the changes to use boot-mvebu-next.cmd instead of boot-
marvell.cmd to prevent unbootable system due to incompatibility between
u-boot 2013.01 and boot-mvebu-next.cmd
This reverts commit 0f17ecb233babe ("Helios4: Use boot-mvebu-next
bootscript")

U-Boot 2018 will failed load dtb and script due to missing some
variables on boot-marvell.cmd. This will render the system unbootable.
Re-added and update loading-boot-scr.patch for backward compatibility

Signed-off-by: Aditya Prayoga <aditya@kobol.io>
2018-11-29 06:58:39 +01:00
Igor Pecovnik
e7657a5991 [ bugfix ] Fixing default Chromium preferences file https://forum.armbian.com/topic/3327-asus-tinkerboard/?do=findComment&comment=65807 and adding optional DEFAULT_CONSOLE variable which can override default console settings per board 2018-11-15 19:03:57 +01:00
Igor Pecovnik
abe9730328 Revert "Install bootscripts always but do their backup to /usr/share/armbian"
This reverts commit bf5a2fe6e0.
2018-10-13 15:21:55 +02:00
5kft
9651a589ee minor fix relating to change fd235d6c34 -
only create NetworkManager powersave configuration entry if NetworkManager configuration directory is present
2018-10-13 01:44:42 +00:00
Igor Pecovnik
bf5a2fe6e0 Install bootscripts always but do their backup to /usr/share/armbian
Making https://github.com/armbian/build/pull/1128 deprecated.
2018-10-09 13:01:42 +02:00
Igor Pecovnik
fd235d6c34 Patches cleanup for sunxi-dev and a bugfix for WiFi powersave workaround 2018-10-02 17:34:41 +02:00
Igor Pečovnik
789909be3f
Typo
fixed wrong mode
2018-10-02 09:25:37 +02:00
Igor Pecovnik
40e5ce955b Permanently disable WiFi powersave. Previous implementation wasn't working on Bionic. Now is. 2018-10-02 07:49:44 +02:00
Igor Pecovnik
ef6847e647 Small bugfix regarding removing old swap files, K4.4 upstream patches, bump with a version 2018-09-30 15:22:44 +02:00
Igor Pecovnik
05db63c1a8 Better bugfix for boot delay "waiting for suspend/resume device"
95ae09470f (commitcomment-30692608)
2018-09-28 20:16:24 +02:00
Igor Pecovnik
95ae09470f Bugfix for boot delay "waiting for suspend/resume device" 2018-09-27 14:22:41 +02:00
Igor Pecovnik
a23b02d11e Fix for boot delay "waiting for suspend/resume device" when using ZRAM 2018-09-18 10:37:10 +02:00
Igor Pecovnik
6cac03da55 Removing swap file on upgrade if it was made by our start script 2018-09-10 20:49:21 +02:00
Igor Pecovnik
50cd819a4d Swappiness correction for update and a few bugfixes https://forum.armbian.com/topic/5565-zram-vs-swap/?page=2&tab=comments#comment-61168 2018-09-04 22:13:43 +02:00
Igor Pecovnik
05d926de1f Tiny bugfix. Bionic related. Upgrade stalls since file is removed. Fixed with this commit. 2018-09-04 10:41:30 +02:00
Igor Pecovnik
e90dff320a Making bootscript creation more universal, adjust packaging patches for C1 and C2 default 2018-08-11 19:09:53 +02:00