Adding Debian packages: Difference between revisions

From Variscite Wiki
No edit summary
Line 7: Line 7:
There are few scripts that run at the first time at startup and configuration files are generated which are unique to the SOM.  
There are few scripts that run at the first time at startup and configuration files are generated which are unique to the SOM.  


== Adding Packages to rootfs ===
== Adding Packages to rootfs ==
If you have packages, add your list of packages to build script,  while building roofs.  
If you have packages, add your list of packages to build script,  while building roofs.  
For example, below git and vim <br>
For example, below git and vim <br>
Line 13: Line 13:
  readonly G_USER_PACKAGES="git vim" <br>
  readonly G_USER_PACKAGES="git vim" <br>


== Adding Application to rootfs
== Adding Application to rootfs ==
If you have your application to be installed on your rootfs: <br>
If you have your application to be installed on your rootfs: <br>
Take https://github.com/varigit/debian-var/blob/debian_buster_var01/variscite/weston_rootfs.sh#L295 <br>  
Take https://github.com/varigit/debian-var/blob/debian_buster_var01/variscite/weston_rootfs.sh#L295 <br>  
lines as an example and install your applications, config files / settings etc. <br>  
lines as an example and install your applications, config files / settings etc. <br>  
Don't forget to copy your resources to variscite folder.<br>
Don't forget to copy your resources to variscite folder.<br>


== Build the rootfs ===
== Build the rootfs ===
Follow :
Follow :

Revision as of 06:04, 10 July 2020

DART-MX8M-MINI - Adding Debian Packages

General

We don't recommend duplicating eMMC / clone from one device to another. There are few scripts that run at the first time at startup and configuration files are generated which are unique to the SOM.

Adding Packages to rootfs

If you have packages, add your list of packages to build script, while building roofs. For example, below git and vim
install git, and vim set the line to

readonly G_USER_PACKAGES="git vim" 

Adding Application to rootfs

If you have your application to be installed on your rootfs:
Take https://github.com/varigit/debian-var/blob/debian_buster_var01/variscite/weston_rootfs.sh#L295
lines as an example and install your applications, config files / settings etc.
Don't forget to copy your resources to variscite folder.

Build the rootfs =

Follow :