LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
56 stars 6 forks source link

[linux_distributions][chromium_os] DLC documentation #620

Open LukeShortCloud opened 2 years ago

LukeShortCloud commented 2 years ago
LukeShortCloud commented 2 years ago

Example of installing termina-dlc:

$ sudo dlcservice_util --id=termina-dlc --install

https://bugs.chromium.org/p/chromium/issues/detail?id=953544

LukeShortCloud commented 2 years ago

The DLC packages live in source code at src/third_party/chromiumos-overlay/chromeos-base/. Only sample-dlc, termina-dlc, and test-dlc exist (borealis-dlc and pita-dlc are missing upstream).

LukeShortCloud commented 2 years ago

For Crostini and Borealis, here are where the read-only kernel and root file system are stored:

$ mount | grep '/run/imageloader'
imageloader on /run/imageloader type tmpfs (rw,nosuid,nodev,noexec,relatime,seclabel,mode=755)
/dev/mapper/DAD94DD7E689D1B9613181CAEF439AFD3306347A3BE978BEA91105FFF4A58733 on /run/imageloader/termina-dlc/package type squashfs (ro,nosuid,nodev,relatime,seclabel)
/dev/mapper/97FAF558800146218A8FC01F8D9858A9816001B65A431ADCF0F273D18909E335 on /run/imageloader/borealis-dlc/package type squashfs (ro,nosuid,nodev,relatime,seclabel)
$ sudo ls -1 /run/imageloader/borealis-dlc/package/root/
credits.html
splash_logo.png
vm_kernel
vm_rootfs.img