Jump to content

borsti67

Members
  • Posts

    41
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Germoney

Contact Methods

  • XMPP/Jabber
    borsti67@xabber.de
  • Skype
    tappelhagen

Recent Profile Visitors

1945 profile views
  1. Hello team, I noticed the following lines during script run: Free space: grep: | tee -a $DEST/debug/debootstrap.log: No such file or directory [ o.k. ] Ending debootstrap process and preparing cache [ jessie ] as you can see, free space is neither logged nor displayed. I found 2 occurrences in debootstrap-ng.sh, but I don't get what's wrong there...?
  2. Just an information: After upgrading the build environment to Xenial the segfaults disappeared; it seems the qemu version is much better. I was even able to use make with $CTHREADS inside chroot!
  3. Thanks Zador, this seems to be the problem - now I have a display output again! Anyway the messages are still in Xorg.log, but at the moment I won't care.
  4. Hi Zador, (just for info - I will have to check the new fetch routine, unfortunately it doesn't work well with my mirrored repos at the moment and for QT automatic inclusion of submodules is not ideal) I have set the variable to "nobuild" and it seems I have the driver now. But there is still no desktop... I noticed the following: [ o.k. ] Installing [ armbian-tools-jessie_5.17_armhf.deb ] [ o.k. ] Installing additional application [ USB redirector ] make: *** No rule to make target 'clean'. Stop. install: cannot stat 'a10disp': No such file or directory [ o.k. ] Installing desktop [ XFCE ] this seems unplanned to me. From messages log: Sep 2 10:16:37 localhost rsyslogd-2007: action 'action 17' suspended, next retry is Fri Sep 2 10:17:07 2016 [try http://www.rsyslog.com/e/2007 ] [EDIT: ^---- annoying repeating error!] Sep 2 10:16:37 localhost kernel: [ 39.695318] Warning: this sunxi disp driver will see significant redesign. Sep 2 10:16:37 localhost kernel: [ 39.700481] Applications using /dev/disp directly will break. Sep 2 10:16:37 localhost kernel: [ 39.707240] For more information visit: http://linux-sunxi.org/Sunxi_disp_driver Sep 2 10:16:37 localhost kernel: [ 39.718380] [DISP] layer allocated: 0,101 Sep 2 10:16:37 localhost kernel: [ 39.876055] [drm] Initialized drm 1.1.0 20060810 Sep 2 10:16:37 localhost kernel: [ 39.906110] Mali DRM initialize, driver name: mali_drm, version 2.1 Sep 2 10:16:38 localhost kernel: [ 39.940313] [drm] Initialized mali_drm 2.1.1 20101111 on minor 0 Sep 2 10:16:38 localhost kernel: [ 39.951726] Mali DRM initialize, driver name: mali_drm, version 2.1 Sep 2 10:16:38 localhost kernel: [ 39.964014] [drm] Initialized mali_drm 2.1.1 20101111 on minor 1 Sep 2 10:16:38 localhost NetworkManager[485]: Libgcrypt warning: missing initialization - please fix the application ...look ok to me (not sure why 2 times mali init as the FEX has set disp_mode = 0)... Xog.0.log: [ 38.090] X.Org X Server 1.16.4 Release Date: 2014-12-20 [ 38.091] X Protocol Version 11, Revision 0 [ 38.091] Build Operating System: Linux 3.16.0-0.bpo.4-armmp-lpae armv7l Debian [ 38.091] Current Operating System: Linux beasttx 3.4.112-sun7i #6 SMP PREEMPT Thu Sep 1 19:11:14 CEST 2016 armv7l [ 38.091] Kernel command line: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=7 [ 38.091] Build Date: 11 February 2015 01:18:06AM [ 38.091] xorg-server 2:1.16.4-1 (http://www.debian.org/support) [ 38.091] Current version of pixman: 0.32.6 [ 38.091] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 38.091] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 38.092] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Sep 2 10:16:36 2016 [ 38.117] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 38.117] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 38.153] (==) No Layout section. Using the first Screen section. [ 38.153] (==) No screen section available. Using defaults. [ 38.153] (**) |-->Screen "Default Screen Section" (0) [ 38.153] (**) | |-->Monitor "<default monitor>" [ 38.154] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 38.154] (**) | |-->Device "Allwinner A10/A13 FBDEV" [ 38.154] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 38.155] (**) Option "BlankTime" "0" [ 38.155] (**) Option "StandbyTime" "0" [ 38.155] (**) Option "SuspendTime" "0" [ 38.155] (**) Option "OffTime" "0" [ 38.155] (==) Automatically adding devices [ 38.155] (==) Automatically enabling devices [ 38.155] (==) Automatically adding GPU devices [ 38.239] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 38.239] Entry deleted from font path. [ 38.239] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist. [ 38.239] Entry deleted from font path. [ 38.239] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist. [ 38.239] Entry deleted from font path. [ 38.240] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist. [ 38.240] Entry deleted from font path. [ 38.240] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist. [ 38.240] Entry deleted from font path. [ 38.240] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist. [ 38.240] Entry deleted from font path. [ 38.240] (==) FontPath set to: /usr/share/fonts/X11/misc, built-ins [ 38.240] (==) ModulePath set to "/usr/lib/xorg/modules" [ 38.240] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 38.240] (II) Loader magic: 0xb6f19f18 [ 38.240] (II) Module ABI versions: [ 38.240] X.Org ANSI C Emulation: 0.4 [ 38.241] X.Org Video Driver: 18.0 [ 38.241] X.Org XInput driver : 21.0 [ 38.241] X.Org Server Extension : 8.0 [ 38.241] (II) no primary bus or device found [ 38.242] (II) LoadModule: "glx" [ 38.749] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 39.074] (II) Module glx: vendor="X.Org Foundation" [ 39.074] compiled for 1.16.4, module version = 1.0.0 [ 39.074] ABI class: X.Org Server Extension, version 8.0 [ 39.077] (==) AIGLX enabled [ 39.078] (II) LoadModule: "fbturbo" [ 39.078] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so [ 39.361] (II) Module fbturbo: vendor="X.Org Foundation" [ 39.361] compiled for 1.16.4, module version = 0.5.1 [ 39.361] Module class: X.Org Video Driver [ 39.361] ABI class: X.Org Video Driver, version 18.0 [ 39.361] (II) FBTURBO: driver for framebuffer: fbturbo [ 39.361] (++) using VT number 7 [ 39.459] (WW) Falling back to old probe method for fbturbo [ 39.459] (II) Loading sub module "fbdevhw" [ 39.459] (II) LoadModule: "fbdevhw" [ 39.465] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 39.467] (II) Module fbdevhw: vendor="X.Org Foundation" [ 39.468] compiled for 1.16.4, module version = 0.0.2 [ 39.468] ABI class: X.Org Video Driver, version 18.0 [ 39.469] (II) FBTURBO(0): using /dev/fb0 [ 39.469] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [ 39.469] (II) FBTURBO(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 39.469] (==) FBTURBO(0): Depth 24, (==) framebuffer bpp 32 [ 39.470] (==) FBTURBO(0): RGB weight 888 [ 39.470] (==) FBTURBO(0): Default visual is TrueColor [ 39.470] (==) FBTURBO(0): Using gamma correction (1.0, 1.0, 1.0) [ 39.470] (II) FBTURBO(0): hardware: (video memory: 24300kB) [ 39.470] (**) FBTURBO(0): Option "fbdev" "/dev/fb0" [ 39.470] (**) FBTURBO(0): Option "SwapbuffersWait" "true" [ 39.478] (II) FBTURBO(0): processor: ARM Cortex-A7 [ 39.478] (II) FBTURBO(0): checking modes against framebuffer device... [ 39.478] (II) FBTURBO(0): checking modes against monitor... [ 39.478] (--) FBTURBO(0): Virtual size is 1920x1080 (pitch 1920) [ 39.478] (**) FBTURBO(0): Built-in mode "current": 148.5 MHz, 67.5 kHz, 60.0 Hz [ 39.479] (II) FBTURBO(0): Modeline "current"x0.0 148.50 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync -csync (67.5 kHz [ 39.479] (==) FBTURBO(0): DPI set to (96, 96) [ 39.479] (II) Loading sub module "fb" [ 39.479] (II) LoadModule: "fb" [ 39.506] (II) Loading /usr/lib/xorg/modules/libfb.so [ 39.628] (II) Module fb: vendor="X.Org Foundation" [ 39.629] compiled for 1.16.4, module version = 1.0.0 [ 39.629] ABI class: X.Org ANSI C Emulation, version 0.4 [ 39.629] (==) Depth 24 pixmap format is 32 bpp [ 39.672] (II) FBTURBO(0): using backing store heuristics [ 39.712] (II) FBTURBO(0): enabled G2D acceleration [ 39.713] (==) FBTURBO(0): Backing store enabled [ 39.744] (==) FBTURBO(0): DPMS enabled [ 39.750] (II) FBTURBO(0): using sunxi disp layers for X video extension [ 39.750] (II) FBTURBO(0): using hardware cursor [ 39.996] (II) Loading sub module "dri2" [ 39.997] (II) LoadModule: "dri2" [ 39.997] (II) Module "dri2" already built-in [ 40.023] (II) FBTURBO(0): enabled display controller hardware overlays for DRI2 [ 40.024] (II) FBTURBO(0): Wait on SwapBuffers? enabled [ 40.024] (II) FBTURBO(0): [DRI2] Setup complete [ 40.024] (II) FBTURBO(0): [DRI2] DRI driver: lima [ 40.024] (II) FBTURBO(0): [DRI2] VDPAU driver: sunxi [ 40.024] (II) FBTURBO(0): using DRI2 integration for Mali GPU (UMP buffers) [ 40.024] (II) FBTURBO(0): Mali binary drivers can only accelerate EGL/GLES [ 40.024] (II) FBTURBO(0): so AIGLX/GLX is expected to fail or fallback to software [ 40.024] (==) RandR enabled [ 40.102] (II) SELinux: Disabled on system [ 40.121] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/lima_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/lima_dri.so: cannot open shared object file: No such file or directory) [ 40.121] (EE) AIGLX: reverting to software rendering [ 40.121] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/swrast_dri.so: cannot open shared object file: No such file or directory) [ 40.121] (EE) GLX: could not load software renderer [ 40.121] (II) GLX: no usable GL providers found for screen 0 [ 41.346] (II) config/udev: Adding drm device (/dev/dri/card0) [ 41.346] (II) xfree86: Adding drm device (/dev/dri/card0) [ 41.346] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied [ 41.347] (II) config/udev: Adding drm device (/dev/dri/card1) [ 41.347] (II) xfree86: Adding drm device (/dev/dri/card1) [ 41.347] (II) LoadModule: "modesetting" [ 41.348] (WW) Warning, couldn't open module modesetting [ 41.348] (II) UnloadModule: "modesetting" [ 41.349] (II) Unloading modesetting [ 41.349] (EE) Failed to load module "modesetting" (module does not exist, 0) [ 41.349] xf86: found device 0 [ 41.352] (II) config/udev: Adding input device axp20-supplyer (/dev/input/event0) [ 41.352] (**) axp20-supplyer: Applying InputClass "evdev keyboard catchall" [ 41.352] (II) LoadModule: "evdev" [ 41.352] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so [ 41.426] (II) Module evdev: vendor="X.Org Foundation" [ 41.426] compiled for 1.16.0, module version = 2.9.0 [ 41.426] Module class: X.Org XInput Driver [ 41.426] ABI class: X.Org XInput driver, version 21.0 [ 41.426] (II) Using input driver 'evdev' for 'axp20-supplyer' [ 41.426] (**) axp20-supplyer: always reports core events [ 41.427] (**) evdev: axp20-supplyer: Device: "/dev/input/event0" [ 41.427] (--) evdev: axp20-supplyer: Vendor 0x1 Product 0x1 [ 41.427] (--) evdev: axp20-supplyer: Found keys [ 41.427] (II) evdev: axp20-supplyer: Configuring as keyboard [ 41.428] (**) Option "config_info" "udev:/sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/axp20-supplyer.28/input/input0/event0" [ 41.428] (II) XINPUT: Adding extended input device "axp20-supplyer" (type: KEYBOARD, id 6) [ 41.428] (**) Option "xkb_rules" "evdev" [ 41.429] (**) Option "xkb_model" "pc105" [ 41.429] (**) Option "xkb_layout" "de" [ 41.592] (II) config/udev: Adding input device ft5x_ts (/dev/input/event4) [ 41.592] (**) ft5x_ts: Applying InputClass "evdev touchscreen catchall" [ 41.592] (**) ft5x_ts: Applying InputClass "ft5x_ts" [ 41.592] (II) Using input driver 'evdev' for 'ft5x_ts' [ 41.592] (**) Option "SendCoreEvents" "yes" [ 41.592] (**) ft5x_ts: always reports core events [ 41.592] (**) evdev: ft5x_ts: Device: "/dev/ft5x_ts" [ 41.593] (II) evdev: ft5x_ts: Using mtdev for this device [ 41.593] (--) evdev: ft5x_ts: Vendor 0 Product 0 [ 41.593] (--) evdev: ft5x_ts: Found absolute axes [ 41.593] (--) evdev: ft5x_ts: Found absolute multitouch axes [ 41.593] (II) evdev: ft5x_ts: No buttons found, faking one. [ 41.593] (--) evdev: ft5x_ts: Found x and y absolute axes [ 41.593] (--) evdev: ft5x_ts: Found absolute touchscreen [ 41.594] (**) Option "SwapAxes" "on" [ 41.594] (II) evdev: ft5x_ts: Configuring as touchscreen [ 41.594] (**) evdev: ft5x_ts: YAxisMapping: buttons 4 and 5 [ 41.594] (**) evdev: ft5x_ts: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 41.594] (**) Option "config_info" "udev:/sys/devices/platform/sunxi-i2c.1/i2c-1/1-0038/input/input4/event4" [ 41.594] (II) XINPUT: Adding extended input device "ft5x_ts" (type: TOUCHSCREEN, id 7) [ 41.595] (II) evdev: ft5x_ts: initialized for absolute axes. [ 41.595] (**) ft5x_ts: (accel) keeping acceleration scheme 1 [ 41.596] (**) ft5x_ts: (accel) acceleration profile 0 [ 41.596] (**) ft5x_ts: (accel) acceleration factor: 2.000 [ 41.596] (**) ft5x_ts: (accel) acceleration threshold: 4 [ 41.597] (II) config/udev: Adding input device ft5x_ts (/dev/input/mouse1) [ 41.598] (**) ft5x_ts: Applying InputClass "ft5x_ts" [ 41.598] (II) Using input driver 'evdev' for 'ft5x_ts' [ 41.598] (**) Option "SendCoreEvents" "yes" [ 41.598] (**) ft5x_ts: always reports core events [ 41.598] (**) evdev: ft5x_ts: Device: "/dev/ft5x_ts" [ 41.598] (WW) evdev: ft5x_ts: device file is duplicate. Ignoring. [ 41.610] (EE) PreInit returned 8 for "ft5x_ts" [ 41.610] (II) UnloadModule: "evdev" [ 41.614] (II) config/udev: Adding input device BTC USB Multimedia Keyboard (/dev/input/event1) [ 41.615] (**) BTC USB Multimedia Keyboard: Applying InputClass "evdev keyboard catchall" [ 41.615] (II) Using input driver 'evdev' for 'BTC USB Multimedia Keyboard' [ 41.615] (**) BTC USB Multimedia Keyboard: always reports core events [ 41.615] (**) evdev: BTC USB Multimedia Keyboard: Device: "/dev/input/event1" [ 41.615] (--) evdev: BTC USB Multimedia Keyboard: Vendor 0x46d Product 0xc312 [ 41.615] (--) evdev: BTC USB Multimedia Keyboard: Found keys [ 41.615] (II) evdev: BTC USB Multimedia Keyboard: Configuring as keyboard [ 41.615] (**) Option "config_info" "udev:/sys/devices/platform/sw-ehci.1/usb2/2-1/2-1.6/2-1.6.1/2-1.6.1:1.0/input/input1/event1" [ 41.615] (II) XINPUT: Adding extended input device "BTC USB Multimedia Keyboard" (type: KEYBOARD, id 8) [ 41.615] (**) Option "xkb_rules" "evdev" [ 41.615] (**) Option "xkb_model" "pc105" [ 41.616] (**) Option "xkb_layout" "de" [ 41.619] (II) config/udev: Adding input device BTC USB Multimedia Keyboard (/dev/input/event2) [ 41.619] (**) BTC USB Multimedia Keyboard: Applying InputClass "evdev keyboard catchall" [ 41.619] (II) Using input driver 'evdev' for 'BTC USB Multimedia Keyboard' [ 41.619] (**) BTC USB Multimedia Keyboard: always reports core events [ 41.619] (**) evdev: BTC USB Multimedia Keyboard: Device: "/dev/input/event2" [ 41.619] (--) evdev: BTC USB Multimedia Keyboard: Vendor 0x46d Product 0xc312 [ 41.620] (--) evdev: BTC USB Multimedia Keyboard: Found keys [ 41.620] (II) evdev: BTC USB Multimedia Keyboard: Configuring as keyboard [ 41.620] (**) Option "config_info" "udev:/sys/devices/platform/sw-ehci.1/usb2/2-1/2-1.6/2-1.6.1/2-1.6.1:1.1/input/input2/event2" [ 41.620] (II) XINPUT: Adding extended input device "BTC USB Multimedia Keyboard" (type: KEYBOARD, id 9) [ 41.620] (**) Option "xkb_rules" "evdev" [ 41.620] (**) Option "xkb_model" "pc105" [ 41.620] (**) Option "xkb_layout" "de" [ 41.624] (II) config/udev: Adding input device OPM-U06 (/dev/input/event3) [ 41.624] (**) OPM-U06: Applying InputClass "evdev pointer catchall" [ 41.624] (II) Using input driver 'evdev' for 'OPM-U06' [ 41.624] (**) OPM-U06: always reports core events [ 41.624] (**) evdev: OPM-U06: Device: "/dev/input/event3" [ 41.624] (--) evdev: OPM-U06: Vendor 0x54c Product 0x36b [ 41.624] (--) evdev: OPM-U06: Found 9 mouse buttons [ 41.624] (--) evdev: OPM-U06: Found scroll wheel(s) [ 41.624] (--) evdev: OPM-U06: Found relative axes [ 41.624] (--) evdev: OPM-U06: Found x and y relative axes [ 41.625] (II) evdev: OPM-U06: Configuring as mouse [ 41.625] (II) evdev: OPM-U06: Adding scrollwheel support [ 41.625] (**) evdev: OPM-U06: YAxisMapping: buttons 4 and 5 [ 41.625] (**) evdev: OPM-U06: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 41.625] (**) Option "config_info" "udev:/sys/devices/platform/sw-ehci.1/usb2/2-1/2-1.6/2-1.6.2/2-1.6.2:1.0/input/input3/event3" [ 41.625] (II) XINPUT: Adding extended input device "OPM-U06" (type: MOUSE, id 10) [ 41.625] (II) evdev: OPM-U06: initialized for relative axes. [ 41.626] (**) OPM-U06: (accel) keeping acceleration scheme 1 [ 41.626] (**) OPM-U06: (accel) acceleration profile 0 [ 41.626] (**) OPM-U06: (accel) acceleration factor: 2.000 [ 41.626] (**) OPM-U06: (accel) acceleration threshold: 4 [ 41.628] (II) config/udev: Adding input device OPM-U06 (/dev/input/mouse0) [ 41.628] (II) No input driver specified, ignoring this device. [ 41.628] (II) This device may have been added with another device file. [ 41.643] removing GPU device /sys/devices/platform/mali_drm.0/drm/card0 /dev/dri/card0 [ 41.644] (II) config/udev: Adding drm device (/dev/dri/card0) [ 41.644] (II) xfree86: Adding drm device (/dev/dri/card0) [ 41.644] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied [ 41.644] removing GPU device /sys/devices/platform/mali_drm.1/drm/card1 /dev/dri/card1 [ 41.644] (II) config/udev: Adding drm device (/dev/dri/card1) [ 41.644] (II) xfree86: Adding drm device (/dev/dri/card1) [ 41.644] (II) LoadModule: "modesetting" [ 41.646] (WW) Warning, couldn't open module modesetting [ 41.646] (II) UnloadModule: "modesetting" [ 41.646] (II) Unloading modesetting [ 41.646] (EE) Failed to load module "modesetting" (module does not exist, 0) [ 41.646] xf86: found device 0 I wonder about 41.346 - the permission denied error as well as the missing module "modesetting"?
  5. Thanks Zador. What ist the default value of EXTERNAL_NEW or in other words what should happen if it's unset?
  6. have there been more changes for Desktop recently except the repos? Yesterday I have updated and tried to compile, noticed that the function "fetch_from_github" was gone (replaced by "fetch_from_repo"?). After I changed my script accordingly I was able to compile, but the desktop doesn't come up any more. It looks like "fbturbo" module is completely missing? I don't see any reference to this in the logs; where should it be so I can try to debug?
  7. Did you miss some lines in the scripts by chance? (latest lib, lime2, 3.4.112, jessie, with extras and desktop) [ o.k. ] Applying common tweaks install: cannot stat '/[...]/lib/config/hostapd/hostapd.conf': No such file or directory install: cannot stat '/[...]/lib/config/hostapd/hostapd.realtek.conf': No such file or directory
  8. oops, I must have missed that - so the recommended build environment is Xenial now?
  9. /me = dumb. I've had that already in another project, so it was/is just c'n'p for the variable definitions (which should be set in compile.sh IMHO), the rest is search-and-replace. Compilation finished in the meantime: Inclusion of the conf worked as expected, and also the after-build hook!
  10. Currently I'm working only with one board, so for me it's not an issue. The idea is in case the Armbian script gets broken for a specific board only (I've had this some time ago for a BBB) you would be able to set LIB_TAG to the latest working one in the config-<thisboard>.conf file. At the moment for me the actual master works fine, so no need here - I justed wanted to bring it to your attention in case you didn't consider this yet. I just have changed my lib.conf to define the hook and now it's compiling. Regarding my 2nd remark, there LIB_TAG was just an example, you also cannot pass BOARD and such as parameters, therefore my question. But the question is somewhat obsolete now as all of these can be set in the dedicated conf... Anyway thanks for the really fast reply (and action!) Do you dislike the idea of having the color definitions as variables instead of escape sequences at all or should I provide this once more later? But then over all scripts which use colored output...?
  11. Thanks for the hook, I think this will do very good! But regarding the parameters and the inclusion script I have still some questions: you placed the script AFTER Armbian self-update. This means one will not be able to provide a LIB_TAG by the additional script. maybe I'm not experienced enough in bash scripting, but to my knowledge parameters don't have priority over code. This means if compile.sh contains LIB_TAG="" this won't work: LIB_TAG="v1.0" ./compile.sh ...or do I miss something? That's the main reason why I proposed the slightly more complex syntax in the patch.
  12. Hm, the forum doesn't support nested quotes? may be it's a little harder to read, but as the user doesn't have to change anything here I would not consider this a problem. The name of the variable and its standard value are visible and well documented in the comments, so if the user wants to have them changed he would do it in the separate conf (in standard syntax)... Oops, I have overlooked this one. This is better indeed, but it will work only as long as we don't expect more than 1 parameter, correct? good point, I never tried. $SUDO_USER was the only reference to the "real" logged-in user I was able to find. Do you know any better method? As long as it's unsafe this way, I'll put it in [[ -z ]]...
  13. I have done some changes to compile.sh: Variables are now defined ONLY if not passed otherwise, so they can be set elsewhere without the need to make changes in this file (not necessary, just for readability of code) I have added the escape-sequences for the ANSI-coloring as variables, so they can be used anywhere later. This is just in case someone prefers other colors for output and doesn't want to change each line individually. At the moment it only works within compile.sh as I didn't touch other scripts yet, but I can easily do if I should! in case a file named "armbian_user.conf" is found in the same folder, it will be sourced just before Armbian self-update takes place. Within this file (which is absolutely not necessary to have) the user can set overrides to variables, call other scripts and so on. at the end of the script, all files in $SRC will be owned by the current user (instead of root) Please review the attached patch and apply if ok! (in case something is missing/wrong also please tell so I can modify and create another patch) [PS: I needed to change the extension to .txt to upload, .patch is not allowed...?] compile_sh.patch.txt
  14. If it helps: It's not in the log files, but on screen I saw this message: rm: cannot remove '/{...}/output/cache/sdcard/tmp/overlay': Device or resource busy
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines