mirror of
git://soft.sys114.com/odroid-stamper
synced 2025-12-19 01:48:42 +09:00
Improve file system layout support
This change is to use 'casper' to run root file system on the memory and mount additional partitions to it. Signed-off-by: Dongjin Kim <tobetter@gmail.com> Change-Id: If1ae4f025a78765313e0fa2807fc97347d5214fc
This commit is contained in:
6
custom/templates/oem/fixups/S95-fstab
Normal file
6
custom/templates/oem/fixups/S95-fstab
Normal file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat <<__EOF | tee -a /etc/fstab >/dev/null
|
||||
LABEL=app /var/app/oem ext4 ro,relatime 0 0
|
||||
LABEL=lib /var/lib/oem ext4 ro,relatime 0 0
|
||||
__EOF
|
||||
@@ -1,2 +1,2 @@
|
||||
oem_mount 5 var/app/oem
|
||||
oem_mount 6 var/lib/oem
|
||||
oem_mount 6 var/app/oem
|
||||
oem_mount 7 var/lib/oem
|
||||
|
||||
1
custom/templates/oem/overlay/etc/default/overlayroot
Normal file
1
custom/templates/oem/overlay/etc/default/overlayroot
Normal file
@@ -0,0 +1 @@
|
||||
/dev/disk/by-label/vendor
|
||||
@@ -1 +0,0 @@
|
||||
odroid-overlayroot
|
||||
@@ -1 +1,8 @@
|
||||
/etc/hostname
|
||||
/etc/default/locale
|
||||
/etc/environment
|
||||
/etc/hosts.allow
|
||||
/etc/hosts.deny
|
||||
/etc/profile
|
||||
/etc/ssh
|
||||
/etc/timezone
|
||||
/usr/share/netplan
|
||||
|
||||
Reference in New Issue
Block a user