Commit Graph

63 Commits

Author SHA1 Message Date
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
7819b81b0a lib/*.sh: Apply further shellcheck recommendations 2019-06-04 12:29:05 +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
ee44b9c62b [ sunxi-next ] Enable apparmor and selinux support and a tiny Debian locale bugfix 2019-03-08 18:50:27 +01:00
Igor Pečovnik
5beb95d8f9
Merge pull request #1216 from helios-4/helios4_update
U-boot SDcard update changes
2019-01-08 15:53:41 +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
JMCC
37d896fa7e Change default DNS resolver for chroot to cludfare alternate, and make it configurable 2019-01-03 14:03:08 +01:00
JMCC
961254b4f1 Change Cloudflare DNS for Google's 2019-01-02 18:48:39 +01:00
Igor Pecovnik
c58a8f6a3e [ general ] Don't install u-boot package to the image anymore, but leave scripting since it's need for nand-sata-install 2018-12-28 16:32:02 +01:00
Igor Pečovnik
a37a9cf9bd
Tiny bugfix 2018-12-14 14:36:17 +01:00
Igor Pecovnik
763a141f45 [ buildscript ] serial console exception for g_serial and legacy sun8i kernel 2018-12-14 13:54:45 +01:00
Igor Pecovnik
ad31697416 [ buildscript ] cosmetical fix - display which serial console is getting enabled and supress/redirect chroot warnings to build log 2018-12-12 20:34:40 +01:00
Igor Pecovnik
9280c7901c [ buildscript ] Improve serial console(s) handling 2018-12-12 19:13:50 +01:00
Igor Pecovnik
ed578975ae [ meson64 ] change default console to HDMI, getty enabling bugfix 2018-12-11 20:32:52 +01:00
Thomas Kaiser
99f1cbd48b
Disable ondemand.service on Bionic too 2018-11-26 19:23:02 +01:00
Igor Pecovnik
277e6e6f65 [security/cosmetic] Adjust permission for cpuinfo_cur_freq to be accesible by a normal user and adjusting htop configuration based on cpu count 2018-10-14 18:07:12 +02:00
Igor Pecovnik
1c4340b421 [Rockchip and general] Add upstream patch for K4.4, adjust config to cover https://github.com/armbian/build/issues/1133 and add htoprc to support https://github.com/avafinger/htop-2.1.1_enhanced-version with showing CPU temp out of the box. 2018-10-14 11:20:25 +02:00
Igor Pecovnik
b554f3d003 DNS config implementation bugfix https://github.com/armbian/build/pull/1105 2018-09-10 14:29:39 +02:00
Lane Jennison
3c68174fc8 accidental correction---corrected 2018-09-10 00:07:12 -04:00
Lane Jennison
9d8fbd19d5 sane DNS defaults for NetworkManager.conf and nsswitch.conf 2018-09-09 23:59:45 -04:00
Lane Jennison
13ea64b1e9 Revert "Try to fix DNS (privacy) issues"
This reverts commit f10acc0080.

Making room for alternative approach
2018-09-09 23:59:45 -04:00
Igor Pecovnik
459a6f5895 A few adjustements to recent crypto root implementation https://github.com/armbian/build/pull/1069 from @zciendor 2018-08-31 22:17:35 +02:00
zciendor
bd83c60b23
Merge remote-tracking branch 'upstream/master' 2018-08-26 07:04:03 -05:00
ThomasKaiser
f10acc0080 Try to fix DNS (privacy) issues 2018-08-24 20:26:08 +02:00
zciendor
ddf0ed1edf
Redo of implementation for feature request #947 on current master
This was already implemented with https://github.com/armbian/build/pull/948,
before but never made it into the master branch yet. Probably because the
development branch has been abandoned in the meantime and it is to much effort
now to merge it into master.

It includes all the cleanup changes from commit 08743d3 and has been successfully
tested on an Odroid HC1.

In addition to what is currently in the `luks` branch the following improvments
where done/added:

1. update_initramfs() function in debbootstrap-ng.sh, which needs to be invoked
   after the partition layout and /etc/crypttab was created. Else `cryptroot-unlock`
   won't work and you'll run into:
   https://serverfault.com/questions/907254/cryproot-unlock-with-dropbear-timeout-while-waiting-for-askpass

   Apart from that it might be useful to always run `update-initramfs` at the end
   of the build process anyway, in case customize_image (userpatches) made some
   changes to the initramfs tools configs.

2. CRYPTROOT_SSH_UNLOCK=yes/no config option. It's by default set to yes, but it
   might be desired by some users to disable enable SSH/dropbear access while
   still having LUKS support. E.g. if they have a device that has a display
   and keyboard.

3. If no `authorized_keys` file is provided via userpatches, a new SSH key pair
   is generated and for convenience copied to the output directory along with
   the final image.
2018-07-31 16:02:26 -05:00
Igor Pečovnik
e91fb953e2 Typo 2018-07-06 07:26:29 +00:00
Igor Pečovnik
92258e0298 Journal service logs adjustements/fix for Bionic. Moving it from /var/log to /run/log (memory). Use compression and some other limits. Need some testing. 2018-07-06 07:21:56 +00:00
Igor Pečovnik
fc07886a1d
Bsp services RFC (#1015)
* Basic armbian services RFC
- tested building and upgrade
- armbian-optimize-hardware and armbian-setup-hardware have still the same content

* fix permissions

* Forther renaming and small fixes

* Odroid C2 NEXT tiny config adjustement to remove errros from bootup and moving u-boot to 2018.05

* More cleanings

* permissions fix

* More cleanup ...

* permi

* Remove few Ubuntu related things, fix permissions

* Further mini improvements

* Fix logrotate compression and permission issues

* Bugfix

* Wrong services setup at package install. fixing

* RAM logging: workaround for older kernel/btrfs driver versions

* Renaming services, proper config for zram, few bugfixes.

* Various fixes

* Various fixes

* No $TMPFILE needed here

* Various fixes

* Lower this so boards with low memory can use it too

* Various fixes

* Adjust logfile to armbian-hardware-monitor.log

* Remove swap file creation

* Fix permissions in all logrotate configs if needed.

* Prevent loading parallel printer port drivers which we don't need here.
2018-06-16 19:41:16 +02:00
zador.blood.stained
eec99f4c3e Bugfix for resolvconf handling 2018-06-06 00:22:52 +03:00
zador-blood-stained
0b89533bf1 Fix resolvconf installation in chroot in some cases 2018-06-05 18:53:45 +03:00
Igor Pecovnik
746c33f42a This hack is not needed. Tested on all variants. 2018-06-04 09:45:50 +02:00
Igor Pečovnik
3dc3c7ec2f
DNS fix for Jessie 2018-05-31 20:35:22 +02:00
Igor Pecovnik
f3fcea2358 Stretch bugfix and Tinkerboard upstream patch 2018-05-29 16:50:30 +00:00
ThomasKaiser
1c9c7d4037 Temperature readout fix
And switching from Google to Cloudflare DNS everywhere
2018-05-28 23:27:11 -07:00
ThomasKaiser
7520ea8c54 Use Cloudflare DNS server for privacy reasons 2018-05-28 14:01:05 -07:00
Igor Pecovnik
5f6e743e24 When forcing network manager and having no resolvconf we have to use resolvd. Adding Google DNS to the resolved works ... until better implementation is figured out. 2018-05-28 17:16:11 +02:00
Igor Pecovnik
d1a9c8a768 Merging main libs into the stable. Hack for building Bionic on Xenial left out 2018-05-24 21:01:02 +02:00
Igor Pecovnik
3ff36b0649 Define ARCH within global environment variables 2018-01-26 10:54:55 +01:00
Igor Pecovnik
ce63cc6dbc Typo bugfix 2017-12-13 12:56:39 +01:00
Igor Pecovnik
67984f1078 Disable repeated messages due to xconsole not being installed and remove deprecated rsyslogd parameter
https://forum.armbian.com/topic/5907-rsyslogd-action-suspended-messages-in-varlogsyslog/
2017-12-13 12:15:11 +01:00
Igor Pecovnik
677fa5210d Hardening previous commit and adding more download options for Neo2 2017-11-05 19:32:33 +01:00
Igor Pecovnik
fc12ac1a8f Cosmetic fix for "[FAILED] Failed to start Set console font and keymap" at first boot 2017-11-05 18:13:12 +01:00
zador.blood.stained
b6ab198b43 Split and activate firstrun configuration service
The code was disabled some time ago, split it to a separate unit file
and reenable. Since configuration file needs to be renamed to activate
it, it won't be run by default.
2017-11-04 21:56:23 +03:00
zador-blood-stained
ddbe5dd322 Add DEFAULT_OVERLAYS variable 2017-11-01 13:16:21 +03:00
zador-blood-stained
5d7d05e2fd Small cleanup 2017-10-26 18:34:33 +03:00
zador-blood-stained
808462e1fd Add an option to install kernel sources to the image 2017-10-06 15:43:41 +03:00
zador-blood-stained
38db0b55f9 Add NM_IGNORE_DEVICES variable, drop NM config from mvebu64 2017-09-28 13:53:14 +03:00
zador-blood-stained
5b3285d374 Build utils separately for different releases (incl. Stretch) 2017-09-25 19:32:34 +03:00
zador-blood-stained
1fb6fcec99 Add install_deb_chroot helper function 2017-09-07 14:00:45 +03:00