Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bee74e5
commit b15f95e
Showing
45 changed files
with
2,141 additions
and
1,322 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
#! /bin/sh | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
PATH=/usr/sbin:/usr/bin:/sbin:/bin | ||
|
||
root="$1" | ||
question="$2" | ||
value="$3" | ||
seen="$4" | ||
|
||
[ "$seen" ] || seen=true | ||
|
||
if ! (echo "SET $question $value"; echo "FSET $question seen $seen") | chroot "$1" debconf-communicate -fnoninteractive live-initramfs >/dev/null; then | ||
chroot "$1" debconf-communicate -fnoninteractive live-initramfs >/dev/null <<EOF | ||
if ! (echo "SET $question $value"; echo "FSET $question seen $seen") | chroot "$1" debconf-communicate -fnoninteractive live-initramfs >/dev/null | ||
then | ||
|
||
chroot "$1" debconf-communicate -fnoninteractive live-initramfs >/dev/null << EOF | ||
REGISTER debian-installer/dummy $question | ||
SET $question $value | ||
FSET $question seen $seen | ||
EOF | ||
|
||
fi | ||
|
||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.