ArmbianHelper changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum feed: #armbian-rss | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
lyri has quit [Remote host closed the connection]
zeemate has quit [Ping timeout: 258 seconds]
sally has quit [Remote host closed the connection]
sally has joined #armbian
archetech_ has joined #armbian
archetech_ has quit [Remote host closed the connection]
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian
archetech_ has joined #armbian
IgorPec has quit [Server closed connection]
buzzmarshall has quit [Quit: Konversation terminated!]
lord_daemon has joined #armbian
archetech_ has quit [Quit: Konversation terminated!]
schwar3kat has joined #armbian
schwar3kat has quit [Quit: Offline]
lyri has joined #armbian
lyri has quit [Remote host closed the connection]
crabbedhaloablut has joined #armbian
Smedles has quit [Remote host closed the connection]
Smedles has joined #armbian
jantones has quit [Quit: Leaving]
juri_ has quit [Server closed connection]
juri_ has joined #armbian
marco44 has quit [Server closed connection]
marco44 has joined #armbian
Smedles has quit [Ping timeout: 240 seconds]
Smedles has joined #armbian
Werner has quit [Server closed connection]
Werner has joined #armbian
zeemate has joined #armbian
Laskolnyk has quit [Read error: Connection reset by peer]
Laskolnyk has joined #armbian
jclsn has joined #armbian
califax_ has joined #armbian
califax has quit [Ping timeout: 264 seconds]
califax_ is now known as califax
ccatss084 has quit [Server closed connection]
ccatss084 has joined #armbian
Laskolnyk has quit [Remote host closed the connection]
Laskolnyk has joined #armbian
Lucanis has quit [Server closed connection]
Lucanis has joined #armbian
zeemate has quit [Ping timeout: 260 seconds]
<DC-IRC> <marty1938> Hi! I would like to customize an image which works great! using customize-image. I want to add a user when customizing the image, it seems like the home directory is not created.
<DC-IRC> <marty1938> Im ussing the command
<DC-IRC> <marty1938> `adduser --quiet --disabled-password --home /home/"$RealUserName" --gecos "$RealName" "$RealUserName"`
<DC-IRC> <marty1938> Am i missing something? is it possible to do?
zeemate has joined #armbian
califax has quit [Remote host closed the connection]
califax has joined #armbian
<DC-IRC> <marty1938> Hi! I would like to customize an image which works great! using customize-image. I want to add a user when customizing the image, it seems like the home directory is not created.
<DC-IRC> <marty1938> Im using the command
<DC-IRC> <marty1938> `adduser --quiet --disabled-password --home /home/"$RealUserName" --gecos "$RealName" "$RealUserName"`
<DC-IRC> <marty1938> Am i missing something? is it possible to do?
Laskolnyk has quit [Read error: Connection reset by peer]
Laskolnyk has joined #armbian
<DC-IRC> <Werner> -m switch to actually create the directory and copy skel
<DC-IRC> <marty1938> thats for useradd i think?
<DC-IRC> <Werner> Yup
<DC-IRC> <Werner> Maybe adduser has similar switch
sunshavi has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 240 seconds]
<DC-IRC> <marty1938> aight, but the stuff created in /home/user is preserved when running the customize image script?
arch3r has joined #armbian
arch3r has quit [Read error: Connection reset by peer]
arch3r has joined #armbian
archetech has quit [Quit: Leaving]
arch3r has quit [Quit: bye]
Smedles has quit [Ping timeout: 246 seconds]
Smedles has joined #armbian
arch3r has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Remote host closed the connection]
<DC-IRC> <marty1938> I added some printing in the script the folder is there when printing inside customize-image
<DC-IRC> <marty1938> ```
<DC-IRC> <marty1938> [🌱] Calling image customization script [ customize-image.sh ]
<DC-IRC> <marty1938> [🔨] =========== Create default user =============================
<DC-IRC> <marty1938> [🔨] System has not been booted with systemd as init system (PID 1). Can't operate.
<DC-IRC> <marty1938> [🔨] Failed to connect to bus: Host is down
<DC-IRC> <marty1938> [🔨]
<DC-IRC> <marty1938> [🔨] Generating locales: sv_US.UTF-8
<DC-IRC> <marty1938> [🔨] /tmp/customize-image.sh: line 345: /home/myuser/.: Is a directory
<DC-IRC> <marty1938> [🔨] total 12
<DC-IRC> <marty1938> [🔨] drwxr-x--- 2 myuser myuser 100 Nov 13 13:28 .
<DC-IRC> <marty1938> [🔨] drwxr-xr-x 3 root root 60 Nov 13 13:28 ..
<DC-IRC> <marty1938> [🔨] -rw-r--r-- 1 myuser myuser 220 Jan 6 2022 .bash_logout
<DC-IRC> <marty1938> [🔨] -rw-r--r-- 1 myuser myuser 3849 Nov 13 13:28 .bashrc
<DC-IRC> <marty1938> [🔨] -rw-r--r-- 1 myuser myuser 807 Jan 6 2022 .profile
<DC-IRC> <marty1938> [🔨] =========== Create default user =============================
<DC-IRC> <marty1938> ``
arch3r has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
<DC-IRC> <marty1938> I added some printing in the script the folder is there when printing inside customize-image
<DC-IRC> <marty1938> `
<DC-IRC> <marty1938> [🌱] Calling image customization script [ customize-image.sh ]
<DC-IRC> <marty1938> [🔨] =========== Create default user =============================
<DC-IRC> <marty1938> [🔨] System has not been booted with systemd as init system (PID 1). Can't operate.
<DC-IRC> <marty1938> [🔨] Failed to connect to bus: Host is down
<DC-IRC> <marty1938> [🔨]
<DC-IRC> <marty1938> [🔨] Generating locales: sv_US.UTF-8
<DC-IRC> <marty1938> [🔨] /tmp/customize-image.sh: line 345: /home/myuser/.: Is a directory
<DC-IRC> <marty1938> [🔨] total 12
<DC-IRC> <marty1938> [🔨] drwxr-x--- 2 myuser myuser 100 Nov 13 13:28 .
<DC-IRC> <marty1938> [🔨] drwxr-xr-x 3 root root 60 Nov 13 13:28 ..
<DC-IRC> <marty1938> [🔨] -rw-r--r-- 1 myuser myuser 220 Jan 6 2022 .bash_logout
<DC-IRC> <marty1938> [🔨] -rw-r--r-- 1 myuser myuser 3849 Nov 13 13:28 .bashrc
<DC-IRC> <marty1938> [🔨] -rw-r--r-- 1 myuser myuser 807 Jan 6 2022 .profile
<DC-IRC> <marty1938> [🔨] =========== Create default user =============================
<DC-IRC> <marty1938> `
<DC-IRC> <marty1938> Then ssh:
<DC-IRC> <marty1938> `
<DC-IRC> <marty1938> myuser@radxa-e25:/home$ ls -al
<DC-IRC> <marty1938> total 8
<DC-IRC> <marty1938> drwxr-xr-x 2 root root 4096 Nov 13 13:28 .
<DC-IRC> <marty1938> drwxr-xr-x 19 root root 4096 Nov 13 13:25 ..
<DC-IRC> <marty1938> `
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 258 seconds]
arch3r- has joined #armbian
<DC-IRC> <marty1938> thanks for help,
<DC-IRC> <marty1938> i think its connected to this
arch3r- is now known as arch3r
arch3r has quit [Excess Flood]
alekksander has joined #armbian
arch3r has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
Smedles has quit [Ping timeout: 264 seconds]
Smedles has joined #armbian
arch3r has quit [Ping timeout: 258 seconds]
arch3r has joined #armbian
arch3r- has joined #armbian
arch3r has quit [Read error: Connection reset by peer]
arch3r- is now known as arch3r
arch3r has quit [Read error: Connection reset by peer]
arch3r has joined #armbian
stipa has joined #armbian
arch3r- has joined #armbian
arch3r has quit [Ping timeout: 255 seconds]
archetech has joined #armbian
jantones has joined #armbian
arch3r- is now known as arch3r
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 240 seconds]
arch3r- has joined #armbian
arch3r- is now known as arch3r
arch3r has quit [Excess Flood]
arch3r has joined #armbian
arch3r has quit [Remote host closed the connection]
arch3r has joined #armbian
arch3r has quit [Remote host closed the connection]
arch3r has joined #armbian
alekksander has quit [Ping timeout: 260 seconds]
tachi_ has joined #armbian
arch3r has quit [Quit: bye]
tachi__ has joined #armbian
arch3r has joined #armbian
jantones has quit [Ping timeout: 260 seconds]
tachi_ has quit [Ping timeout: 258 seconds]
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Quit: bye]
alekksander has joined #armbian
arch3r has joined #armbian
archetech_ has joined #armbian
archetech has quit [Ping timeout: 240 seconds]
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Excess Flood]
arch3r has joined #armbian
archetech_ has quit [Quit: Konversation terminated!]
arch3r has quit [Quit: bye]
arch3r has joined #armbian
<DC-IRC> <nottoosmart> Getting this error this morning and all of my searches have left the problem unresolved:
<DC-IRC> <nottoosmart> `Err:5 http://armbian.tnahosting.net/apt bookworm InRelease
<DC-IRC> <nottoosmart> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5
<DC-IRC> <nottoosmart> Reading package lists... Done
<DC-IRC> <nottoosmart> W: GPG error: http://armbian.tnahosting.net/apt bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5
<DC-IRC> <nottoosmart> E: The repository 'http://apt.armbian.com bookworm InRelease' is not signed.
<DC-IRC> <nottoosmart> N: Updating from such a repository can't be done securely, and is therefore disabled by default.
<DC-IRC> <nottoosmart> N: See apt-secure(8) manpage for repository creation and user configuration details.`
arch3r has quit [Quit: bye]
<DC-IRC> <nottoosmart> neverming the apt issue, figured it out through another method of searching.
lyri has joined #armbian
arch3r has joined #armbian
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #armbian
arch3r- has joined #armbian
arch3r has quit [Ping timeout: 264 seconds]
archetech has joined #armbian
arch3r- has quit [Ping timeout: 260 seconds]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 240 seconds]
arch3r has joined #armbian
arch3r- has joined #armbian
arch3r has quit [Read error: Connection reset by peer]
arch3r- is now known as arch3r
arch3r- has joined #armbian
arch3r has quit [Ping timeout: 246 seconds]
arch3r- has quit [Excess Flood]
<DC-IRC> <grohlfer> Hello people!
<DC-IRC> <grohlfer> I'm a little new to armbian, though having worked with Linux for quite some time in the past.
<DC-IRC> <grohlfer> Now that I have some spare time to fill up, I wanted to catch up with IoT and got myself a couple of SBC boards (OrangePi3-LTS and RaspberryPi4-B).
<DC-IRC> <grohlfer> I've already succeed in many experiments using GPIO on the OPi3-LTS, and now I'm trying to do some more, this time using its SPI capabilities.
<DC-IRC> <grohlfer> Problem is that I can't quite understand Device Trees overlays. I've been googling for it and all information I got seems to assume that you already know about it.
<DC-IRC> <grohlfer> Besides that, some boot-up overlay examples written to a file with extension .txt in the /boot directory sometimes use "overlays=" and others use "dtoverlay=". Likewise, ones refer to parameters by "params=" and others "dtparam=". My conclusion is that at some point in time the DT boot-up directives changed from one to another, and that not every Linux distro has this file available. Am I right?
<DC-IRC> <grohlfer> I also have watched a good 1hr video about Device Trees from Thomas Petazzoni from Bootlin, but he fell short from tackling boot-up modifications on the DT as well.
<DC-IRC> <grohlfer> I'm a little frustrated because so far I couldn't find anything more elucidative about modifying DTs on kernel bootup.
<DC-IRC> <grohlfer> I'd appreciate any suggestions coming from you, guys.
<DC-IRC> <grohlfer> Thanks!
arch3r has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
<DC-IRC> <viraniac> @grohlfer You seem to be strugling with two different things. first is to understand and write device tree overlays, second is how they get applied. For the first part, I will suggest to go over bootlin blog. They have some nice articles explaining the same. You can easily find them if you google for "dt overlay bootlin". For the second part, about how they are applied, they are <clipped message>
<DC-IRC> <viraniac> generally applied before the control is passed to kernel. This is generally done by the bootloader. What identifiers (dtoverlay, dtparam, overlays, etc) you have to use to apply them, depends on the implementation for the same. For example, raspberry pi has its own implementation done in its firmware and you tell the firmware to load specific dt overlays using dtoverlay parameter <clipped message>
<DC-IRC> <viraniac> and if you need to pass some information to it, you use dtparam parameter. On the other hand, if you try this on OrangePi3-LTS running Armbian, you have to use overlays parameter as the bootscript (/boot/boot.scr) expects the same.
arch3r has quit [Ping timeout: 252 seconds]
arch3r has joined #armbian
<DC-IRC> <viraniac> So basically it all boils down to a simple, refer to the documentation of OS and device that you are using for how to load the device overlay.
arch3r has quit [Remote host closed the connection]
<DC-IRC> <grohlfer> Thank you @viraniac , you got precisely what I'm struggling with! I'll follow your tips, in fact I've had taken some videos from bootlin already. But now that you explained about the differences from RPi and OPi bootload DT modification directives, I'm more confident about how to deal with it without messing (too much, I hope) things up on my SBC. Thank you so much!
arch3r has joined #armbian
ArmbianHelper has joined #armbian
arch3r has quit [Remote host closed the connection]
arch3r- has joined #armbian
arch3r- is now known as arch3r
arch3r has quit [Excess Flood]
arch3r has joined #armbian
tachi__ is now known as jantones
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Ping timeout: 264 seconds]
arch3r has joined #armbian
arch3r- has joined #armbian
arch3r has quit [Ping timeout: 240 seconds]
arch3r- is now known as arch3r
arch3r has quit [Excess Flood]
arch3r has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r- has joined #armbian
arch3r has quit [Read error: Connection reset by peer]
alekksander has quit [Quit: Konversation terminated!]
arch3r- is now known as arch3r
arch3r has quit [Excess Flood]
arch3r has joined #armbian
arch3r- has joined #armbian
arch3r has quit [Ping timeout: 255 seconds]
arch3r- has quit [Read error: Connection reset by peer]
arch3r has joined #armbian
crabbedhaloablut has quit []
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Read error: Connection reset by peer]
arch3r- has joined #armbian
arch3r- is now known as arch3r
arch3r has quit [Excess Flood]
arch3r has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
archetech has quit [Quit: Leaving]
archetech has joined #armbian
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #armbian
arch3r has quit [Quit: bye]
arch3r has joined #armbian
archetech has quit [Quit: Konversation terminated!]
arch3r has quit [Client Quit]
archetech has joined #armbian
arch3r has joined #armbian
arch3r has quit [Remote host closed the connection]
zeemate has quit [Ping timeout: 260 seconds]
Dagger has quit [Ping timeout: 246 seconds]
Dagger has joined #armbian
ced117 has quit [Ping timeout: 240 seconds]
ced117 has joined #armbian
sevan has quit [Ping timeout: 246 seconds]