Commit 739a9026 authored by Colin Walters's avatar Colin Walters

libqa: Make /boot read-only by default

See https://github.com/GNOME/ostree/pull/213
parent 2c737f6b
......@@ -396,7 +396,7 @@ function pullDeploy(mntdir, srcrepo, osname, target, revision, originRepoUrl, ca
{logInitiation: true, env: adminEnv});
let defaultFstab = 'LABEL=gnostree-root / ext4 defaults 1 1\n\
LABEL=gnostree-boot /boot ext4 defaults 1 2\n\
LABEL=gnostree-boot /boot ext4 ro 1 2\n\
LABEL=gnostree-swap swap swap defaults 0 0\n';
let [currentDir, currentEtcDir] = getDeployDirs(mntdir, osname);
let fstabPath = currentEtcDir.resolve_relative_path('fstab');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment