How to build custom Ubuntu 18.04 for Odroid C1 ?

Post Reply
r3d9u11
Posts: 8
Joined: Thu Oct 10, 2019 7:51 pm
languages_spoken: english
ODROIDs: odroid-c1
Has thanked: 0
Been thanked: 0
Contact:

How to build custom Ubuntu 18.04 for Odroid C1 ?

Unread post by r3d9u11 » Thu Oct 10, 2019 7:59 pm

Hello. I'm trying to build own distro for Odroid-C1 based on Ubuntu 18.04 in accordination with this guide: https://wiki.odroid.com/odroid-c1/os_im ... tu/minimal
I changed trusty to bionic, but I'm facing with strange error, I can't add odroid's repository:

1) I added needed key, however updating still excepted:

Code: Select all

root@odroidvbox:~# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 2DD567ECD986B59D
Executing: /tmp/apt-key-gpghome.rtkf7rlACB/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 2DD567ECD986B59D
gpg: key 2DD567ECD986B59D: public key "Mauro Ribeiro (mdrjr) <mauro.ribeiro@hardkernel.com>" imported
gpg: can't connect to the agent: IPC connect call failed
gpg: Total number processed: 1
gpg:               imported: 1

root@odroidvbox:~# apt update
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease
Get:5 http://deb.odroid.in/c1 bionic InRelease [1718 B]                    
Err:5 http://deb.odroid.in/c1 bionic InRelease                                                                                                                                                                                 
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2DD567ECD986B59D
Reading package lists... Done
W: GPG error: http://deb.odroid.in/c1 bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2DD567ECD986B59D
E: The repository 'http://deb.odroid.in/c1 bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
2) ok, I tried to do some workaround:

Code: Select all

deb [trusted=yes] http://deb.odroid.in/c1/ bionic main
And now I have:

Code: Select all

root@odroidvbox:/etc/apt/sources.list.d# apt update
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
qemu: Unsupported syscall: 384
Hit:1 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Get:3 http://deb.odroid.in/c1 bionic InRelease [1718 B]
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-backports InRelease [74.6 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Ign:3 http://deb.odroid.in/c1 bionic InRelease                                                                                                                                                                                 
Get:6 http://deb.odroid.in/c1 bionic/main armhf Packages [18.3 kB]                                                                                                                                                             
Fetched 272 kB in 18s (14.9 kB/s)                                                                                                                                                                                              
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
W: GPG error: http://deb.odroid.in/c1 bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2DD567ECD986B59D

root@odroidvbox:/etc/apt/sources.list.d# apt install linux-image-c1 bootini -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-image-c1
What I'm doing wrong?
Thanks!

r3d9u11
Posts: 8
Joined: Thu Oct 10, 2019 7:51 pm
languages_spoken: english
ODROIDs: odroid-c1
Has thanked: 0
Been thanked: 0
Contact:

Re: How to build custom Ubuntu 18.04 for Odroid C1 ?

Unread post by r3d9u11 » Thu Oct 10, 2019 9:54 pm

well, if I understand right, there is no package "linux-image-c1" in bionic repo
I found another package "linux-odroid-c"

User avatar
mad_ady
Posts: 6674
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 194 times
Been thanked: 148 times
Contact:

Re: How to build custom Ubuntu 18.04 for Odroid C1 ?

Unread post by mad_ady » Thu Oct 10, 2019 11:34 pm

Why are you running it in qemu?

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: joshua.yang and 2 guests