Commit Graph

516 Commits

Author SHA1 Message Date
Igor Pečovnik
ac309b9355
Repository managemenet doesn't work after https://github.com/armbian/build/pull/1612 This commit fixes the problem. (#1645) 2019-11-28 15:51:23 +01:00
Igor Pečovnik
b5595d8c1d
AR-79: Temporaly disable AUFS on 5.4.y since its broken (#1633) 2019-11-26 19:25:36 +01:00
Levin Du
77a2dba163 Support eval bash statement in ./compile.sh (#1616)
Currently, invoking compile.sh will run its mono task of building all the
components into a final image.

In some situation, especially when developing with Kernel or U-Boot, it is
handy to run a portion of that great task like:

    export BOARD=firefly-rk3399
    export BRANCH=dev
    # more to avoid the popup of dialog
    ./compile.sh 'fetch_from_repo "$BOOTSOURCE" "$BOOTDIR" "$BOOTBRANCH" "yes"'
    ./compile.sh 'compile_uboot'

or use a profile to keep things simple:

    ./compile.sh default BRANCH=dev 'compile_uboot'
2019-11-26 18:00:39 +01:00
Igor Pečovnik
8f4b6bfc99
Create patches directory structure under USERPATCHES_PATH (#1628)
Closes [AR-74]
2019-11-24 19:57:57 +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
Levin Du
01fec6b3b4 lib/main.sh: allow correctly use of 'head' in BRANCH reference. (#1611)
In fetch_from_repo() from general.sh, when ref uses `head` as value, the ref_name
will be set to `HEAD`, which is later used as a subdir:

   local workdir=$dir/$ref_name

This commit makes the directories consistent with the workdir above.
2019-11-16 09:49:00 +01:00
Igor Pecovnik
336cf390d0 Bugfix: when installing full desktop from armbian-config it lead to installing waaaay too much things. Making things simple again. 2019-11-08 21:44:24 +01:00
zub2
6c7a687d14 don't set LC_ALL=C (#1617)
This breaks UTF-8 in console and in general it just should not be there.

See https://forum.armbian.com/topic/10054-locale-config-issue-stretch/
2019-11-08 00:42:01 +01:00
zhangn1985
fd5dfeba14 btrfs-tools to btfs-progs (#1613)
* btrfs-tools to btfs-progs

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

* Force rootfs cache recompilation

"Just in case" measure

* Change btrfs-progs in the package base too

* We will build Ubuntu 19.10 rootfs cache as well
2019-11-02 18:40:46 +01:00
Igor Pecovnik
ad71eeab96 Infrastructure: small fixes and improvements regarding images upload 2019-10-31 16:14:24 +01:00
Igor Pečovnik
01229d6672
bugfix: repository management
Storing everything into main instead of sub-repo
2019-10-22 20:14:28 +02:00
Igor Pecovnik
d9e6106c29 Tiny development related feature. Adding local mirror if defined. 2019-10-03 20:06:45 +02:00
Igor Pecovnik
2c0adc006a General: strenghten host preparation with downloading aptly keys from two different servers 2019-09-29 18:53:02 +00:00
Igor Pecovnik
60cd84383d Bugfix: run apt update when installing desktop since we use cached rootfs. Up with version. 2019-09-28 01:03:41 +02:00
Igor Pecovnik
b9adf0ea48
Revert remove redundant cleanup (#1567)
U-boot runs several targets. Cubox, Helios4, ... and they are not cleaned at checkout. @zhangn1985
This reverts commit 357926add6

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-27 19:17:49 +02:00
zhangn1985
357926add6 remove redundant cleanup (#1567)
source code cleanup should be done in source update/checkout step.
thus no need redundant cleanup in apply patch step.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-09-19 11:02:21 +02:00
Igor Pecovnik
ddb2202706
Bugfix: rng-tools needs default device
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-18 19:28:09 +02:00
Igor Pecovnik
3ec59523d5
Bugfix: rng-tools not present in Xenial
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-18 15:01:16 +02:00
Igor Pecovnik
df42a5c3da
General: Add tzdata back to the essential packages
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-17 20:12:14 +02:00
guidol70
edfa465ae0 Update configuration.sh (#1566)
add rng-tools for faster fill of the entropy pool for amlogic cpus

Closes https://github.com/armbian/build/issues/1565
2019-09-17 19:49:00 +02:00
Igor Pečovnik
0d0cd7f191
Remove Debian Jessie (#1560) 2019-09-16 22:13:55 +02:00
Igor Pečovnik
e1d4c83ad6
G-serial cleanup (#1549)
* Initial commit for serial consoles rfc
* Board configuration cleanup + small tweaks
* Add serial gadget rename to dev kernel as well
* Cleanup, fixing permissions
* Cleanup board configs
2019-09-13 22:20:11 +02:00
Igor Pecovnik
76cafa6915 General: fixing wrong permission on desktops which pops out when using bluetooth 2019-09-08 20:56:14 +02:00
Igor Pecovnik
c4af831b90 Remove package dependency from armbian-$RELEASE-desktop Closes https://github.com/armbian/build/issues/1544 Adjustement to armbian-config is needed. 2019-09-08 14:00:53 +02:00
Przemysław Sztoch
202d2cac81 Added .editorconfig, removed obsoleted upgrade.sh and main.sh, launching user_config function. (#1543) 2019-09-07 23:28:42 +02:00
Igor Pečovnik
09402b263d
Better wording 2019-09-05 17:21:40 +02:00
Igor Pecovnik
77b55bfe80
Install Wireguard tools (from our repository) by default
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-04 22:49:48 +02:00
Igor Pecovnik
ce3d35546f Interal: improve aptly packaging handling 2019-09-04 22:48:05 +02:00
Igor Pecovnik
2f84cff50e
Fix Odroid N2, add upstream patches for rockchip-default
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-02 07:01:44 +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
da903f2d65
Replace Etcher with dd + verify, tested under Docker (#1522)
* Replace Etcher with dd + verify, tested under Docker

Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-09-01 00:12:36 +02:00
zhangn1985
e71c145cb7 move armbian source to create_sources_list (#1532)
1. move armbian source to create_sources_list
2. check DOWNLOAD_MIRROR
3. alse change prebuild rootfs's source list

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-09-01 00:11:40 +02:00
zhangn1985
6f4efcb677 enable AUFS for meson64-dev (#1525)
enable AUFS rc and adjust kernel config

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-19 14:32:22 +02:00
Igor Pečovnik
bb0130c797
Set AUFS default on
Closes https://github.com/armbian/build/issues/1524
2019-08-18 20:50:53 +02:00
Igor Pecovnik
29fc989c1b
Bugfix: improper BUILD_MINIMAL handling and fixing terrible synaptic performance https://forum.armbian.com/topic/7422-terrible-synaptic-performance/
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 22:17:13 +02:00
Igor Pecovnik
36744e84eb
build minimal - fix multi threaded building
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 10:08:30 +02:00
Igor Pecovnik
f95b91d3bb
up with cache version. another rebuild is needed
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 09:14:37 +02:00
Igor Pecovnik
737bd30d04
build_minimal related bugfixes. Cache didn't follow minimal filename
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-17 09:10:20 +02:00
5kft
7a2bf78e10 increased the default boot partition size to 96MB (from 64MB) for multi-partition fs targets 2019-08-16 21:44:01 -07:00
Igor Pecovnik
39ee7ff343
General: we will be making caches also for minimal images. We have to rebuild other caches due to few changes
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 19:38:08 +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 Pecovnik
c65eff6038
Buster Bugfix: ping has wrong permissions and needs SU privileges. https://forum.armbian.com/topic/11276-unable-to-ping-as-user/
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-16 08:55:15 +02:00
Igor Pečovnik
23ecaaa4f9
Re-enable wireguard
Its tested on all build and is attached to tested branch. Also https://github.com/armbian/build/issues/1369
2019-08-13 07:03:37 +02:00
Zhang Ning
36b42f1968 merge KVIM1 u-boot blobs to odroidc2-blobs
less external git.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-08-05 12:42:02 +08:00
Gauthier Provost
2ab34f46c6
[ build script ] Umount overlay with -i option
close issue #1494
2019-08-05 12:30:09 +08:00
Tony
bc4883e5ee
Merge pull request #1480 from zhangn1985/kvim
add support for Khadas VIM1
add HDMI tweaks from Jonas Karlman
small config update
2019-08-05 00:13:05 -04:00
Becker Béla
e517d588a9 Disable ext4 options that don't work with u-boot (#1495)
Disable these mkfs options for all new distros
2019-08-02 20:02:54 -04:00
Igor Pecovnik
a169b1e750
Adjust rootfs cache number, fix packaging debugging
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:45:31 +02:00
Igor Pecovnik
34a109fbf9
Typos & small bugfixes, odroidxu4 and mvebu64-default kernel adjustements + upstream kernel patches
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-08-01 10:33:47 +02:00
Igor Pečovnik
aae7ae95ba
Change rootfs cache version
For cache rebuilding
2019-07-31 23:52:47 +02:00