parent
b4db5a5b78
commit
1c2d9c4124
@ -65,10 +65,9 @@ setup-disk -m sys /mnt
|
|||||||
# Update boot-time volume information
|
# Update boot-time volume information
|
||||||
BOOT_UUID=$(blkid /dev/sda1 | cut -d' ' -f2 | tr -d '"')
|
BOOT_UUID=$(blkid /dev/sda1 | cut -d' ' -f2 | tr -d '"')
|
||||||
cat <<EOF >/mnt/etc/fstab
|
cat <<EOF >/mnt/etc/fstab
|
||||||
/dev/vg0/root / ext4 rw,noatime,data=ordered 0 1
|
/dev/vg0/root / ext4 rw,noatime,data=ordered 0 1
|
||||||
${BOOT_UUID} /boot ext4 rw,noatime,data=ordered 0 2
|
${BOOT_UUID} /boot ext4 rw,noatime,data=ordered 0 2
|
||||||
/dev/vg0/swap swap swap defaults 0 0
|
/dev/vg0/swap swap swap defaults 0 0
|
||||||
cgroup /sys/fs/cgroup cgroup defaults 0 0
|
|
||||||
EOF
|
EOF
|
||||||
echo "system /dev/sda2 none luks" >/mnt/etc/crypttab
|
echo "system /dev/sda2 none luks" >/mnt/etc/crypttab
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ start_stop_daemon_args="--background \
|
|||||||
grsecdir=/proc/sys/kernel/grsecurity
|
grsecdir=/proc/sys/kernel/grsecurity
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need sysfs
|
need sysfs cgroups
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pre() {
|
start_pre() {
|
||||||
|
Loading…
Reference in New Issue
Block a user