64035ac463
Prepare for better device categorization by moving everything to testing subdir first. [skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR depends on this MR Related: postmarketos#16
16 lines
423 B
Bash
16 lines
423 B
Bash
#!/bin/sh
|
|
|
|
if [ -z "$(grep /mnt/firmware /etc/fstab)" ]; then
|
|
mkdir -p /mnt/firmware
|
|
echo "/dev/mmcblk0p1 /mnt/firmware auto ro 0 0" >> /etc/fstab
|
|
fi
|
|
|
|
if [ -z "$(grep /mnt/data /etc/fstab)" ]; then
|
|
mkdir -p /mnt/data
|
|
echo "/dev/mmcblk0p38 /mnt/data auto ro 0 0" >> /etc/fstab
|
|
fi
|
|
|
|
if [ -z "$(grep /mnt/persist /etc/fstab)" ]; then
|
|
mkdir -p /mnt/persist
|
|
echo "/dev/mmcblk0p29 /mnt/persist auto ro 0 0" >> /etc/fstab
|
|
fi
|