davidep
(Davide Principi)
December 12, 2018, 4:23pm
1
It’s now possible to upload ARM packages to packages.nethserver.org ! This is the usual upload-rpms
command:
upload-rpms davidep@packages.nethserver.org:nscom/7.6.1810/arm-testing *.rpm
Allowed architectures are noarch, armv7hl, aarch64 and x86_64.
There is a new set of repositories whose names are prefixed with arm-
: they are dedicated to the ARM team.
arm-base
arm-updates
arm-testing
arm-nethforge
arm-nethforge-testing
When an RPM is uploaded to arm-
repositories
noarch and src RPMs are retained in arm-
armv7hl and aarch64 are copied (hardlinked) to the corresponding main repo, i.e. arm-testing goes to testing too, arm-updates to updates and so on…
In general, when a noarch is uploaded to any repository (for instance, “updates”) it is copied to all architectures:
Random notes:
Repoclosure checks are disabled by now on ARM architectures
ARM repositories are still not sent to mirrors
The 7.5.1804 branch is going to be closed soon!
5 Likes
mark_nl
(Mark Verlinde)
December 12, 2018, 4:38pm
2
thank you @davidep for your hard work and pushing this further.
Still need some time to comprehend this, first thoughts are it can be problematic…
Again give me some time to digest.
3 Likes
davidep
(Davide Principi)
December 12, 2018, 4:40pm
3
I still have to implement the “blacklist”. As repoclosure is now disabled, it’s not strictly required.
1 Like
mark_nl
(Mark Verlinde)
December 12, 2018, 5:02pm
4
I’ll work on it tomorrow, upload arm (initial only arm32 bit) dependencies and try to get a nethserver install up and running from the new repositories.
this should be possible.
3 Likes
mark_nl
(Mark Verlinde)
December 13, 2018, 9:59am
5
Uploading packages fails…
$ upload-rpms markVnl@packages.nethserver.org:nscom/7.6.1810/arm-base *.rpm
sftp> put c-icap-0.5.2-1.ns7.armv7hl.rpm
Couldn't fsetstat: Permission denied
Despite sftp access is permitted:
$ sftp -i /home/mark/.ssh/neth_rsa markVnl@packages.nethserver.org
Connected to packages.nethserver.org.
sftp> ls nscom/7.6.1810/arm-base/
nscom/7.6.1810/arm-base/mark.Z5XyS0
(Note: i did “patch” upload-rpms to use the right key)
@davidep any ideas?
davidep
(Davide Principi)
December 13, 2018, 1:23pm
6
That is not a fatal error: you can safely ignore it!
See also Couldn't fsetstat: Permission denied
2 Likes
mark_nl
(Mark Verlinde)
December 13, 2018, 1:34pm
7
Yes, they did upload. thanx
EDIT @davidep
How is the arm-updates-groups.xml
processed ? Can I upload one? its empty now…
1 Like
davidep
(Davide Principi)
December 13, 2018, 1:42pm
8
Nice catch, I must fix it! As we said in the past, we need a different comps file for ARM. I’d start by copying the one from x86_64, then we’ll add a new ARM-specific .xml file here: GitHub - NethServer/comps (also for nethforge)
2 Likes
mark_nl
(Mark Verlinde)
December 14, 2018, 8:50am
9
Can you elaborate a bit more?
is the problem the missing comps file ? : I can manage this.
is the problem arm-updates-groups.xml
is not “dispatched” to the ARM repositories?
To put a bit of pressure on it IMHO the only reason we cant publish a alpha preview…
davidep
(Davide Principi)
December 14, 2018, 9:21am
10
Probably I can’t work on this today, I’m sorry
If you can change the xml files consider that they should be applied once the arm-updates repo is built again
mark_nl
(Mark Verlinde)
December 17, 2018, 2:25pm
11
After pushing a update to the arm-updates repo the arm-updates-groups.xml shows up in the repository’s. Unfortunaly the (x86_64) updates-groups.xml is also updated
Causing the change in groups to have no effect
2 Likes
davidep
(Davide Principi)
December 18, 2018, 8:59am
12
Thank you for reporting it! I’ll try to fix today, hopefully I just fixed it
2 Likes
davidep
(Davide Principi)
December 18, 2018, 1:34pm
13
The upload spool dir has now some XML files
updates-groups.xml
nethforge-groups.xml
arm-updates-groups.xml
arm-nethforge-groups.xml
And some symlinks with arch suffix
updates-groups.aarch64.xml
updates-groups.armhfp.xml
updates-groups.x86_64.xml
…
Ignore the symlinks, that just point to the real files. What you have to upload is arm-updates-groups.xml
. Filesystem permissions should protect against mistakes…
2 Likes
mark_nl
(Mark Verlinde)
December 18, 2018, 1:56pm
14
Thank you,
It works on first sight :
the software-center shows only the for arm available packages
2 Likes