Skip to content

Commit

Permalink
Removing spurious '+' when making debconf db read-only (Closes: #5818…
Browse files Browse the repository at this point in the history
…08).
  • Loading branch information
daniel-baumann committed May 18, 2010
1 parent c5ee4aa commit e06185f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/live
Expand Up @@ -1921,7 +1921,7 @@ mountroot ()
cp -a /root/var/cache/debconf/config.dat "/root$DEBCONF_TMPDIR/"
cp -a /root/var/cache/debconf/passwords.dat "/root$DEBCONF_TMPDIR/"
sed "s,^Filename: /var/cache/debconf/\(config\|passwords\).dat$,Filename: $DEBCONF_TMPDIR/\1.dat,; /^Name: templatedb/a\
+Readonly: true" /root/etc/debconf.conf >"/root$DEBCONF_TMPDIR/debconf.conf"
Readonly: true" /root/etc/debconf.conf >"/root$DEBCONF_TMPDIR/debconf.conf"

# Save the PID so it can be killed later.
DEBCONF_SYSTEMRC="$DEBCONF_TMPDIR/debconf.conf" chroot /root debconf-communicate -fnoninteractive live-initramfs > /tmp/debconf-out.fifo < /tmp/debconf-in.fifo &
Expand Down

0 comments on commit e06185f

Please sign in to comment.