Commit Graph

461 Commits

Author SHA1 Message Date
zhangn1985
35aedf08b0 main: show docker in build options (#1479)
Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-26 14:24:37 +02:00
zhangn1985
28c2d20c77 rootfs: update DNS for prebuilt rootfs (#1469)
defualt DNS for prebuilt rootfs is 1.0.0.1
when this DNS is not accessable, eg. due to proxy.

network operation in chroot will not available.

use alternative DNS in variable NAMESERVER.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-22 09:41:02 +02:00
Igor Pecovnik
07e00d8a2f
Cache creation: revert 568b8d7d55 since we already have this implementation. Go up with cache version. Fixing https://forum.armbian.com/topic/10989-armbian-build-stretchbuster-does-not-install-additional-packages 2019-07-20 08:45:11 +02:00
Igor Pečovnik
e633fac810
Bugfix
Forgot about beta numbering scheme 568b8d7d55
2019-07-17 19:59:54 +02:00
Igor Pecovnik
568b8d7d55
build script: make rootfs cache hash (minor x.y*) version dependent to not keep too old caches and that cache can be forcefully rebuild only by changing minor version number. If cache is rebuild only with new packages version, hash stays the same, while we in some cases need to change filename which is served over torrents. 2019-07-17 19:36:13 +02:00
Igor Pecovnik
29472c52b3 Revert "relocate 'compilation_prepare' prior too patching"
This reverts commit b9173d7850.
2019-07-12 10:42:33 +02:00
Martin Ayotte
b9173d7850 relocate 'compilation_prepare' prior too patching 2019-07-11 15:37:05 -04:00
Przemysław Sztoch
48d6548471 Better armbian.txt, unified sha filename, armbianEnv from userpatches. (#1454)
* Unified name for sha file.

* Better information about build in armbian.txt

* armbianEnv.txt from userpatches folder

* Better armbian.txt.

* Lost second argument for fingerprint_image (armbian.txt)
2019-07-11 09:57:33 -04:00
Igor Pecovnik
dca948cd19
Bugfix - it only manifest when build all targets and is releated to this PR https://github.com/armbian/build/pull/1451
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-11 12:51:14 +02:00
Przemysław Sztoch
bc0fbb85bc Add USERPATCHES_PATH optional setting to config file. (#1450)
Required if userpatches folder is conflicted between two different configs.
This is frequent and requires maintaining two copies of the builder.
2019-07-09 22:50:49 -04:00
zhangn1985
94027c0f58 Docker build speed up. (#1451)
* Docker: a chance to rebuild docker image

when Dockerfile is updated, docker image will not be rebuilt,
let armbian docker image tag with framework version, thus has
a chance to rebuild it.

V2: use VERSION file to track build script version.

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

* Docker: use upgrade instead of dist-upgrade to speed up docker build

this patch also change to use apt instead of apt-get
when compile in docker, it will run apt update&&upgrade everytime.
this is very time consuming.

apt-get dist-upgrade will not upgrade packages, thus will make build framework
do upgrade each time.

Signed-off-by: Zhang Ning <832666+zhangn1985@users.noreply.github.com>
2019-07-09 12:04:24 +02:00
Igor Pečovnik
728c2beb2c
Bump with version 2019-07-07 23:28:45 +02:00
Przemysław Sztoch
31b56af49f Default config as symlink and better kernel package metadata (#1446)
* Default config as symlink for comfort switching between several custom boards.

* Better metadata for kernel packages.

* Local changes with detailed git diff.

* Support for gz and bz2 compression (supported by balenaEtcher).
Support for generation sha without 7z compression.
Bug fix for current directory changing in 7z compression.

* Remove bzip2 and use fast pigz for gziping.

* Deleted typo with "gz" in 7z section.
Separated parameter for gpg.

* Information about exit command.
2019-07-06 22:35:42 +02:00
Igor Pečovnik
79ef5ccf4d
Enable Debian buster
for non experts. Its in decent shape, small bugs will eventually be fixed and official release is just around the corner.
2019-07-06 11:33:33 +02:00
Igor Pecovnik
f43ba6bdaa
Wireguard: move to next known to work tag
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-03 07:48:22 +02:00
Igor Pečovnik
ef5a797483
Fix u-boot handling (#1436)
This principle is needed for Allwinner boards. For others it needs to be checked. For now this fixes when building SPI boot loader.
2019-07-02 20:00:12 +02:00
Igor Pecovnik
e8e0c698f1
Remove specific versions of the used kernels https://github.com/armbian/build/issues/1440
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-02 08:43:12 +02:00
lanefu
7d0e676e93
Revert "lib: more shellcheck fixes (#1430)" (#1432)
This reverts commit 1e050839b2.
2019-06-27 22:23:39 -04:00
Manuel Rüger
1e050839b2 lib: more shellcheck fixes (#1430)
thanks @mrueg !
2019-06-27 21:19:42 -04:00
Igor Pečovnik
12dc06510b
Bump with version
To rebuild few images later on
2019-06-27 20:12:01 +02:00
Igor Pecovnik
30dbf32ecf
Wireguard - set kernel limit to 3.14 since last snapshot breaks on 3.10.y
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-26 19:48:44 +02:00
Igor Pečovnik
633242e835
Changes to build script and patches adjustment (#1423)
- change console welcome text
- 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
* Adjust tabs and alter displaying build options at the end - hide empty ones
* Fix wrong MOTD message, adjust logic to autologin by default and request login for both notebooks
* Making fs cache naming more intuitive, rename script
* Move additional kernel drivers into separate file. Add AUFS for K5.1 this way, attach wireguard sources to last known working tag. master is broken atm
* Add two more extra wireless drivers 88x2BU, (improved) 8811EU and introduce switch EXTRAWIFI which is enabled by default
* Move 8812AU to the same version we have now. More recent has some performance issues in AP mode. Adjust configuration, add mvebut-dev 5.1.y kernel
* Enable Wireguard also on 3.10.y since it was fixed upstream. Attach bach to master branch since its working now
* Rockchip64 & RK3399 - upstream patches and remove deprecated patches, mvebu64 add DEV kernel attached to 5.1.y
* Enable BT on Tinkerboard CLI images as well
* cubox-i move to 5.1.y and enable missing HDMI
* Bugfixes for adding wireless driver to Kconfig. Adjusted RK3399 kernel due to upstream changes at FriendlyARM - does not boot yet. Changes has to be extract from their commits. Removed patches with RTL8188EU since we add more recent driver with a new precedure. Small fixes mvebu-default, udoo-next, s56818-next, ... remove deprecated patches.
* Boot-able RK3399-default config, add upstream patches for K4.4.y mvebu-default/udoo-next
* Adjust overclocking patch to meet upstream changes
* Odroid XU4 - remove deprecated kernel patches
2019-06-26 07:31:11 +02:00
Firefly Team
2f8ce01852 Docker: override stty size in container (#1420)
With some docker CLI version, `stty size` in the container will return `0 0`,
which causes `dialog` to fail. This commit fixes that by setting the actual
terminal size.

For more infor, see:

  https://github.com/docker/for-linux/issues/314
2019-06-22 23:32:59 -04:00
jwzawadzki
8830b8aa45 [ mverbu64 ] Add macchiatobin double shot board. (#1416) 2019-06-17 10:49:56 +02:00
Igor Pecovnik
766c0032ed
Merge branch 'master' of https://github.com/armbian/build 2019-06-14 21:22:42 +02:00
Igor Pecovnik
86021bab9a
Debian buster. Add our standard icon theme
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-14 21:22:03 +02:00
Igor Pecovnik
95977fa6f5
[Build script] Reverting image creation improvement due to (random?) failing. truncate sometimes resoult in fs corruption or is not possible to clearly unmount loop device. Need deeper inspection or simply reverting to previous working solution
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-06-14 20:29:07 +02:00
Igor Pecovnik
7e66e95962 [ general ] add tiny debug option to track installed packages per each rootfs cache (internal feature), htop bugfix, sunxi upstream patch 2019-06-12 21:20:03 +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
Igor Pecovnik
953a7f85ac [ General ] Bump with version 2019-06-11 00:20:13 +02:00
Stefan Mavrodiev
550d8980ff lib: Compile external packages for target arch/release if user-built 2019-06-07 09:54:41 +03:00
Manuel Rüger
7819b81b0a lib/*.sh: Apply further shellcheck recommendations 2019-06-04 12:29:05 +02:00
Igor Pecovnik
8ac17c0d6c [ general ] More bullet proof Aria2 default configuration. Removing torrent dl from default and force single source. There seems to be problems with multiple downloads at once in current version. 2019-06-02 21:44:56 +02:00
Igor Pečovnik
e8a79a85db
Download with Aria2 (#1384)
* [ general ] Change Toolchain download method. Introduce torrent downloads by using Aria2. If torrent download fails it proceeds to download from servers. It can download from all mirrors at once, so download speed is dramatically increased. @mzhboy DOWNLOAD_MIRROR parameter is not needed here anymore. The same method is used to download rootfilesystem cache. Based on ideas from here https://github.com/armbian/build/pull/1364

* Added yet another mirror for speeding up the download process, few small adjustements for torrent downloading

* Optimising direct download when DOWNLOAD_MIRROR is set to 'china' due to aria2 download limitations

* Both mirrors support HTTPS, changing
2019-06-02 19:49:59 +02:00
tcme
24afe02e88
Add oldcache to clean target comment
text from 376c1b0551/config/templates/config-example.conf (L10)
2019-05-31 12:01:20 +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
Igor Pecovnik
f1f10fff9b Revert "[ build script ] small speed improvements when building all packages"
This reverts commit ae920870e7.
2019-05-28 22:29:11 +02:00
Igor Pecovnik
f7c634c2bb [ odroidn2 / general ] further improvements with some general patches, kernel config adjustements, upstream patches, bump with version 2019-05-28 21:43:48 +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
ffffbb9cd0 [ odroidn2 ] Remove deprecated patches, kernel config adjustements, added AUFS -> docker support, adding mainline targets which needs further adjustements ... 2019-05-20 15:17:40 +02:00
Igor Pečovnik
ff3bb4265f
Merge pull request #1371 from mzhboy/ups
bug fixes and enhancements
2019-05-18 13:19:20 +02:00
Igor Pecovnik
ae920870e7 [ build script ] small speed improvements when building all packages 2019-05-17 19:19:53 +02:00
Igor Pečovnik
4491429fa0
Change nightly repository purge
Keep only last three builds in a beta repository
2019-05-17 12:48:35 +02:00
Igor Pečovnik
6358da28f0
Bump version 2019-05-16 23:13:06 +02:00
Igor Pečovnik
a2b0164b35
Merge pull request #1373 from OLIMEX/fix_xfce4_config
Add missing closing backslash
2019-05-16 23:10:38 +02:00
Igor Pecovnik
5e0953075b [ kernel source creation ] bugfix, additional wireless drivers were missing 2019-05-16 22:22:41 +02:00
Igor Pecovnik
f7ac2d2999 [ general ] Adjust wrong path when exporting kernel configuration, add wireguard to rockchip64 2019-05-16 18:08:19 +02:00
Stefan Mavrodiev
57854b8ff7 Add missing closing backslash 2019-05-16 08:37:43 +03:00
may
aea890200c [general] replace dd with truncate, create a sparse disk image 2019-05-15 18:47:29 +08:00
may
04d484b6b6 [general] new option MAINLINE_MIRROR to select mainline kernel mirror
- set to `google` to use mirror provided by Google, the same as
     `USE_MAINLINE_GOOGLE_MIRROR=yes`.
 - set to `tuna` to use mirror provided by tsinghua university.
 - leave it unset to use offical `git.kernel.org`.
2019-05-15 18:49:41 +08:00