From 37e1bdbf6b14b2a1c2c9ddcd52fa1351a651385b Mon Sep 17 00:00:00 2001 From: freesource Date: Mon, 8 Oct 2001 17:19:06 +0000 Subject: [PATCH] Before fset was creating some probs. --- add-ons/yard/make-debian-X11/pkg/dpkg/control | 2 +- .../pkg/dpkg/make-debian-x11.config | 14 ++++++++------ .../pkg/dpkg/make-debian-x11.postinst | 13 ++++++++++++- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/add-ons/yard/make-debian-X11/pkg/dpkg/control b/add-ons/yard/make-debian-X11/pkg/dpkg/control index 20eec08..26155c2 100644 --- a/add-ons/yard/make-debian-X11/pkg/dpkg/control +++ b/add-ons/yard/make-debian-X11/pkg/dpkg/control @@ -7,7 +7,7 @@ Standards-Version: 3.5.2 Package: make-debian-x11 Architecture: all -Depends: gbootroot (>= 1.3.12), swim, debconf +Depends: gbootroot (>= 1.2.13), swim, debconf Description: BootRoot add-on. This add-on is an enhanced make_debian script which creates a template for gBootRoot's Yard Method. The root filesystem created from this script diff --git a/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.config b/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.config index 54845b7..09254ec 100755 --- a/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.config +++ b/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.config @@ -6,11 +6,13 @@ use strict; use Debconf::Client::ConfModule ':all'; -fset("make-debian-x11/close_gbootroot_down","seen","false"); +# fset is just used for testing + +#fset("make-debian-x11/close_gbootroot_down","seen","false"); input("medium","make-debian-x11/close_gbootroot_down"); go(); -fset("make-debian-x11/make_debian_x11","seen","false"); +#fset("make-debian-x11/make_debian_x11","seen","false"); input("medium","make-debian-x11/make_debian_x11"); go(); @@ -24,7 +26,7 @@ if ($answer eq "true") { open(SWIM,$swim) or warn "Had trouble using swim: $!\n"; while () { if ($_ eq "file init is not owned by any package\n") { - fset("make-debian-x11/make_debian_x11-swim","seen","false"); + #fset("make-debian-x11/make_debian_x11-swim","seen","false"); input("medium","make-debian-x11/make_debian_x11-swim"); go(); } @@ -32,16 +34,16 @@ if ($answer eq "true") { close(SWIM); -fset("make-debian-x11/make_debian_x11-doc","seen","false"); +#fset("make-debian-x11/make_debian_x11-doc","seen","false"); input("medium","make-debian-x11/make_debian_x11-doc"); go(); -fset("make-debian-x11/make_debian_x11-zoneinfo","seen","false"); +#fset("make-debian-x11/make_debian_x11-zoneinfo","seen","false"); input("medium","make-debian-x11/make_debian_x11-zoneinfo"); go(); } - +stop(); diff --git a/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst b/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst index 996581d..d988f08 100755 --- a/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst +++ b/add-ons/yard/make-debian-X11/pkg/dpkg/make-debian-x11.postinst @@ -57,7 +57,7 @@ my $zoneinfo = get("make-debian-x11/make_debian_x11-zoneinfo"); # Not a perfect approach, but the swim package will be updated # eventually. print STDERR "Be patient, this will take a little while.\n"; - open (SCRIPT, "|make_debian-X11 2&> /dev/null") + open (SCRIPT, "|make_debian-X11") or warn "Couldn't open make_debian-X11\n"; print SCRIPT $swim; print SCRIPT $doc; @@ -68,4 +68,15 @@ my $zoneinfo = get("make-debian-x11/make_debian_x11-zoneinfo"); } + stop(); + + + + + + + + + +