Le Tuesday 18 January 2011 08:44:31 Otavio Salvador, vous avez écrit : > On Mon, Jan 17, 2011 at 23:08, Didier 'OdyX' Raboud <odyx@debian.org> wrote: > > Le Thursday 13 January 2011 23:02:09 Didier 'OdyX' Raboud, vous avez écrit : > >> I will try to come up with something; it'll be there on the win32-loader > >> upload that enables the dpkg-distaddfile call (after proofread on > >> -boot). > > > > Hi all, > > > > as it sounds that time is getting short, I took some of my sleep time to > > prepare the attached patch. Does it sound sane for an upload soon (aka > > tomorrow) ? > > The patch seems good. Except a complainment bellow... > > > I'd appreciate review on the wording of the text in particular. An > > opinion on the handling of the BYHAND variable from the FTPMasters would > > be appreciated too (should BYHAND be yes at each upload to unstable? at > > each "safe" upload? at each upload targetted to testing? only in > > stable-updates uploads, … ? ). > > I am not good for wording review (Christian, could you take a look on > this?) but regarding the .exe handling: > > - for now, BYHAND ought to default to 'no'; > - we ought to set it to 'yes' for uploads targetting stable and testing; > - I think we ought to have it named <suite>-win32-loader.exe where > suite is squeeze, wheeze and so on. > > Having it separated on tools allow for different set of features and > updating cycle do not compromising stability for stable users and > allowing for easier and faster updating for testing users when we > think it is "good enough". > > Cheers, Okay, here's a new patch, with a README.source documenting the BYHAND policy. BYHAND is set to no and will be set to yes for selected uploads only. Further comments before upload ? -- Didier Raboud, proud Debian Developer. CH-1020 Renens odyx@debian.org
commit 365b7fb3e2056257bdfe963018a6fe84bb726895
Author: Didier Raboud <odyx@debian.org>
Date: Tue Jan 18 01:58:32 2011 +0100
Add a dpkg-distaddfile byhand call to install win32-loader-standalone.exe as win32-loader.exe on the mirrors.
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..32f1810
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,18 @@
+==== README.source for win32-loader ====
+
+When uploading this package, it is possible to add win32-loader-standalone.exe
+as debian/tools/$(RELEASE)-win32-loader.exe in the mirrors.
+
+If you NMU this package, be sure to have BYHAND and BYHAND_RELEASE_POSTFIX
+variables set according to the following policy:
+
+ * BYHAND is set to "yes" only for uploads targetting stable or testing
+ (through -proposed-updates), to ensure that the executable available on the
+ mirrors is in sync with the package version in the archive for the given
+ suite.
+ * BYHAND_RELEASE_POSTFIX is set to "${RELEASE-CODENAME}-" depending on the
+ target suite (e.g. "squeeze-" or "wheezy-")
+
+ (Both variables can be set either at build-time or by editing debian/rules.)
+
+ -- Didier Raboud <odyx@debian.org> Tue, 18 Jan 2011 11:06:22 +0100
diff --git a/debian/rules b/debian/rules
index 73582af..3e20f4a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,9 @@
#!/usr/bin/make -f
+# Install the win32-loader-standalone.exe as debian/tools/{RELEASE}-win32-loader.exe on the mirrors
+BYHAND ?= no
+BYHAND_RELEASE_PREFIX ?= squeeze-
+
%:
dh $@
@@ -13,3 +17,13 @@ override_dh_auto_build:
override_dh_auto_clean:
dh_auto_clean
rm -f win32-loader-standalone.exe
+
+override_dh_builddeb:
+ dh_builddeb
+ifeq ($(BYHAND),yes)
+ cp win32-loader-standalone.exe ../$(BYHAND_RELEASE_PREFIX)win32-loader.exe
+ dpkg-distaddfile $(BYHAND_RELEASE_PREFIX)win32-loader.exe byhand -
+ cp debian/win32-loader_doc.txt ../$(BYHAND_RELEASE_PREFIX)win32-loader.txt
+ cat debian/copyright >> ../$(BYHAND_RELEASE_PREFIX)win32-loader.txt
+ dpkg-distaddfile $(BYHAND_RELEASE_PREFIX)win32-loader.txt byhand -
+endif
diff --git a/debian/win32-loader_doc.txt b/debian/win32-loader_doc.txt
new file mode 100644
index 0000000..561d853
--- /dev/null
+++ b/debian/win32-loader_doc.txt
@@ -0,0 +1,31 @@
+===== Win32-Loader =====
+
+== What is Win32-Loader? ==
+
+win32-loader is a component of the Debian-Installer that runs on Windows and
+has the ability to load the actual installer either from the network or from
+CD-ROM media (as in the version included in the official CD images).
+
+This executable is the standalone flavour, which downloads the Debian
+Installer from official Debian mirrors.
+
+== How does it work? ==
+
+After a GPL license acceptance, the executable prompts the user for some
+options and tries to get defaults from the Windows environment. It then
+downloads the official Debian installer and kernel from the official Debian
+mirrors. It puts them in a Windows directory and safely modifies the Windows
+bootloader to enable a choice between the legacy Windows installation and the
+Debian installer at boot time.
+
+Then, on the next reboot, the user can choose to continue the installation of
+Debian. The installation will be run using the defaults gathered from the
+runtime analysis and user prompting.
+
+== Removal ==
+
+When win32-loader.exe is uninstalled, it removes the Debian-Installer image
+and kernel and restores the Windows bootloader settings.
+
+== Authors and licensing ==
+
Attachment:
signature.asc
Description: This is a digitally signed message part.