Difference between revisions of "Adding Debian packages"

From Variscite Wiki
(Created page with "If you have packages, : add your list of packages to install git, and vim set the line to <br> readonly G_USER_PACKAGES="git vim" <br> If you have your application to be in...")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
If you have packages, : add your list of packages to  
+
<!-- Set release according to "release" parameter in URL and use MORTY_V1.0_DART-6UL as default
 +
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
 +
--> {{#lst:Debian_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_BUSTER_V1.0_DART-MX8M-MINI}}}} <!--
 +
--> {{PageHeader|{{#var:HARDWARE_NAME}} - Adding Debian Packages}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Debian}} __toc__
 +
= 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 <br>
 
install git, and vim set the line to <br>
 
install git, and vim set the line to <br>
 
  readonly G_USER_PACKAGES="git vim" <br>
 
  readonly G_USER_PACKAGES="git vim" <br>
 +
 +
== 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 lines as an example and install your applications, <br>
+
Take https://github.com/varigit/debian-var/blob/debian_buster_var01/variscite/weston_rootfs.sh#L295 <br>
config files / settings etc. Don't forget to copy your resources to variscite folder.<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>
 +
 
 +
== Build the rootfs ==
 +
Follow :

Latest revision as of 21:27, 10 July 2020

DART-MX8M-MINI - Adding Debian Packages

1 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.

1.1 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" 

1.2 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.

1.3 Build the rootfs

Follow :