Commit Graph

199 Commits

Author SHA1 Message Date
5kft
f89703360e nand-sata-install: mkfs.f2fs needs "force" option in case target has an existing filesystem 2019-08-17 07:39:11 -07: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 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
abd3b20696
odroidc1: set fixed mac address at first boot 2019-07-25 16:27:17 +02:00
Thomas Kaiser
443b460ad8
Better check for /tmp being a tmpfs. Closes #1473 2019-07-23 17:05:55 +02:00
Igor Pečovnik
4acb3795d6
imx6: make all u-boot targets, fix 4.14.y, remove unfunctional BT patch, enable DEV branch ... all variants tested (#1438)
Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2019-07-01 07:21:17 +02:00
Igor Pečovnik
141ac0f7cd Bugfix: check LOG_TYPE only at script start (#1417)
Only at start of the service since checking spins up attached mechanical drives and we don't want that. https://forum.armbian.com/topic/10406-armbian-ramlog-spin-up-all-hdds-once-every-day/
2019-06-17 07:25:01 +02:00
Igor Pecovnik
858ff1d47b
Debian Buster desktop making bugfix/workaround https://bugs.debian.org/cgi-bin/bugreport.cgi\?bug\=923289 2019-06-14 20:17:25 +02:00
Igor Pečovnik
7a58184037
Merge pull request #1381 from OLIMEX/fix_hardware_optimization
Fix block iosched for kernel 4.20
2019-05-23 21:28:13 +02:00
Stefan Mavrodiev
20c4209a3b Add rootdev= to armbianEnv if missing 2019-05-23 13:27:50 +03:00
Stefan Mavrodiev
4450e3a037 Fix block iosched for kernel 4.20 2019-05-23 11:16:18 +03:00
Igor Pečovnik
70dc1c1b2f
Cosmetical
Exclude also when syncing to disk
2019-05-20 14:07:48 +02:00
Igor Pečovnik
6429ea8d63
Cosmetical
We don't need to sync this and in some cases it throws out warnings
2019-05-20 12:46:07 +02:00
Quien Sabe
d3257d247c added missing mail logs, and firewalld log 2019-05-14 09:35:53 -04:00
Igor Pecovnik
438133dac4 [ meson64 ] set fixed cloned mac in the first run, adjust patches for DEV branch 2019-05-05 23:32:29 +02:00
Igor Pečovnik
7368b0bfe1
Window was too big
Adjusting to sane values
2019-05-04 10:03:36 +02:00
Igor Pečovnik
4da09e425e
Cosmetical
Fixing broken "warning" display
2019-05-04 09:38:26 +02:00
Igor Pecovnik
04f9f85794 [ rk3399 & general ] Move RK3399 to U-boot 2019.04 (briefly tested on T4+). Adding hostname to htop 2019-04-28 22:57:42 +02:00
Simone Rossetto
f4e50fc963 Change regex match from 'log/' to '/log/'
The sed command was wrongly replacing every folder whose name ends
in 'log/' with 'log.hdd/', so i.e. '/var/log/ulog/*.log' became
'/var/log.hdd/ulog.hdd/*.log'. Subsequent logrotate exections would
fail due to non existent folders.

In addition, some logrotate config files may have more than one path
per line, so a 'g' option in the sed replacement regex is required
to replace all '/log/' entries at once.
2019-03-20 16:38:38 +01:00
Igor Pecovnik
a08d72b4b8 [ rk3399 default ] enable workaround for fixed MAC 2019-03-10 18:28:51 +01:00
ThomasKaiser
59e8085ca1 Bugfixes and remove unused function in nand-sata-install 2019-03-08 17:58:46 +01:00
ThomasKaiser
71e7ad2e02 Avoid kernel 5.x surprise 2019-03-08 17:38:30 +01:00
ThomasKaiser
6631b18e79 Use only 1 zram device for swap with modern kernels 2019-03-08 16:55:34 +01:00
ThomasKaiser
e871577202 Enable optional zram backing device 2019-03-08 16:40:34 +01:00
Thomas Kaiser
10f9ea7db5
Avoid temp file vulnerabilities 2019-03-04 07:52:46 +01:00
Anton-Latukha
f2e183da34 nand-sata-install: different errors - different codes & debug help 2019-03-02 22:22:19 +02:00
Anton-Latukha
b37f4e13c8 nand-sata-install: errors should go to stderr and have clear message 2019-03-02 22:22:17 +02:00
Anton-Latukha
85e0d124cd nand-sata-install: errors should have the error exit code 2019-03-02 22:20:34 +02:00
Anton-Latukha
b2075df485 nand-sata-install: fix exit -1 - impossible exit code
Someone wrote ridicilous stuff. There is only one exit code range - [0-255].
There is no negative return codes in Unix shells.
2019-03-02 20:33:52 +02:00
Anton-Latukha
fcd95f997e nand-sata-install: deprecated egrep -> grep -E 2019-03-02 20:30:54 +02:00
Anton-Latukha
120e898ddd nand-sata-install: $n, ${n} -> "$n" 2019-02-25 18:54:54 +02:00
Anton-Latukha
328737f9c9 nand-sata-install: $2 -> "$2" 2019-02-25 18:54:54 +02:00
Anton-Latukha
e282aa5781 nand-sata-install: ${1} -> "$1" 2019-02-25 18:54:54 +02:00
Anton-Latukha
34615eba0d nand-sata-install: "..." -> literal '...' 2019-02-25 18:54:54 +02:00
Anton-Latukha
05fc98bdcf nand-sata-install: $1 -> "$1" 2019-02-25 18:54:49 +02:00
Igor Pečovnik
ae07298011
Merge pull request #1295 from Anton-Latukha/nand-sata-install-fx02
nand-sata-install: properly quoting some variables
2019-02-25 09:08:17 +01:00
Anton-Latukha
b6576cdb6b nand-sata-install: ${root_partition_device} -> "${...}" 2019-02-24 16:54:17 +02:00
Anton-Latukha
7b515b8b88 nand-sata-install: $DIR -> "$DIR" 2019-02-24 16:51:58 +02:00
Anton-Latukha
188f474628 nand-sata-install: ${root_uuid} -> "${root_uuid}" 2019-02-24 16:50:18 +02:00
Anton-Latukha
ed7a4d7757 nand-sata-install: ${TempDir} -> "${TempDir}" 2019-02-24 16:50:10 +02:00
Anton-Latukha
f142dc8ac3 nand-sata-install: rm unused nanddevice variable 2019-02-24 16:22:47 +02:00
guillem
ddc71e0cf4 - Corrected visualization of the gauge, no flickering now 2019-01-23 16:09:12 -03:00
guillem
c4af662147 - Corrected misspelling on the comments 2019-01-23 14:41:41 -03:00
guillem
5848826e45 - Increased 10 times the speed copy of the rootfs, the rsync is stuck by dialog. Now it's launched on background
and communicate via files on the tmp
2019-01-23 14:38:05 -03:00
Igor Pečovnik
2c3035fff0
Merge pull request #1241 from helios-4/helios4_update
[ General ] Move bootscript update to nand-sata-install
2019-01-21 14:38:21 +01:00
Gauthier Provost
93ba3ec3dd [ General ] Move bootscript update to nand-sata-install 2019-01-21 11:44:24 +08:00
Igor Pečovnik
80e32ef7d1
improvement
https://github.com/armbian/build/issues/1235
2019-01-19 09:34:55 +01:00
karolszklarski
e00fe9814f
Target can be not only partition, but also md raid
Target of nand-sata-install can be not only partition, but also md raid
2019-01-18 19:13:13 +01:00
Igor Pecovnik
34ccb5d625 [ nand-sata-install cosmetics ] Suppress error on probing, bigger message for bootloader write, adding "eMMC". It works - at least where eMMC = SD card 2019-01-08 18:06:22 +01:00
Gauthier Provost
dd15668412 [ general ] Add update u-boot on SD option in nand-sata-install
Postinst script is being remove from u-boot package. Therefore now we 
provide a way to user to update (rewrite) u-boot on their SD card.
2019-01-08 18:12:02 +08:00