OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

installing deb packages depends on the platform at installation stage

Open ishidawataru opened this issue 6 years ago • 2 comments

I'm using INSTALLED mode and want to install some packages only for particular platforms. I think ONL doesn't have such a feature.

In my understanding, in INSTALLED mode, a SWI image is extracted to the storage in the initial boot at the ONL loader after the installation. Can we add some mechanism to install additional deb packages after that extraction?

ishidawataru avatar Oct 07 '19 18:10 ishidawataru

Hello ,I am not sure ,try adding the debian package to the path

$ONL/REPO/$SUITE/packages/binary-$ARCH,

Ex : If the debian version is jessie and base architecture is amd64

$ONL/REPO/jessie/packages/binary-amd64/

skwillbesk avatar Apr 26 '20 16:04 skwillbesk

@skwillbesk Thank you for your comment. However, that will install the package to the rootfs for all platforms.

What I want to do is use the same onie-installer image for all platforms but additionally, install some packages only for particular platforms when I install the NOS.

To do this, I think we need to put the packages and associated platform information somewhere in the onie-installer, separate from the roots, and install them after ONL installer extracts the rootfs to the mass storage.

ishidawataru avatar May 22 '20 00:05 ishidawataru