From 1bcef447a0d0df52247ebc42280d7f7bbd1d3672 Mon Sep 17 00:00:00 2001 From: freesource Date: Sun, 22 Dec 2002 03:12:49 +0000 Subject: [PATCH] Now that there will be a gbootroot-nest1 to run inside a uml kernel, there has been some rearrangement. --- pkg/dpkg/{ => gbootroot-nest1}/changelog | 16 - pkg/dpkg/gbootroot-nest1/control | 30 ++ pkg/dpkg/gbootroot-nest1/copyright | 10 + pkg/dpkg/gbootroot-nest1/doc-base | 9 + .../{ => gbootroot-nest1}/gbootroot.postinst | 0 .../{ => gbootroot-nest1}/gbootroot.postrm | 0 .../{ => gbootroot-nest1}/gbootroot.prerm | 0 pkg/dpkg/gbootroot-nest1/menu | 10 + pkg/dpkg/gbootroot-nest1/rules | 84 ++++ pkg/dpkg/gbootroot/changelog | 409 ++++++++++++++++++ pkg/dpkg/{ => gbootroot}/control | 14 +- pkg/dpkg/gbootroot/copyright | 10 + pkg/dpkg/gbootroot/doc-base | 9 + pkg/dpkg/gbootroot/gbootroot.postinst | 11 + pkg/dpkg/gbootroot/gbootroot.postrm | 3 + pkg/dpkg/gbootroot/gbootroot.prerm | 9 + pkg/dpkg/{ => gbootroot}/menu | 0 pkg/dpkg/{ => gbootroot}/rules | 4 +- 18 files changed, 604 insertions(+), 24 deletions(-) rename pkg/dpkg/{ => gbootroot-nest1}/changelog (96%) create mode 100644 pkg/dpkg/gbootroot-nest1/control create mode 100644 pkg/dpkg/gbootroot-nest1/copyright create mode 100644 pkg/dpkg/gbootroot-nest1/doc-base rename pkg/dpkg/{ => gbootroot-nest1}/gbootroot.postinst (100%) mode change 100644 => 100755 rename pkg/dpkg/{ => gbootroot-nest1}/gbootroot.postrm (100%) rename pkg/dpkg/{ => gbootroot-nest1}/gbootroot.prerm (100%) mode change 100644 => 100755 create mode 100644 pkg/dpkg/gbootroot-nest1/menu create mode 100755 pkg/dpkg/gbootroot-nest1/rules create mode 100644 pkg/dpkg/gbootroot/changelog rename pkg/dpkg/{ => gbootroot}/control (62%) create mode 100644 pkg/dpkg/gbootroot/copyright create mode 100644 pkg/dpkg/gbootroot/doc-base create mode 100755 pkg/dpkg/gbootroot/gbootroot.postinst create mode 100755 pkg/dpkg/gbootroot/gbootroot.postrm create mode 100755 pkg/dpkg/gbootroot/gbootroot.prerm rename pkg/dpkg/{ => gbootroot}/menu (100%) rename pkg/dpkg/{ => gbootroot}/rules (96%) diff --git a/pkg/dpkg/changelog b/pkg/dpkg/gbootroot-nest1/changelog similarity index 96% rename from pkg/dpkg/changelog rename to pkg/dpkg/gbootroot-nest1/changelog index 5569de7..ecaa116 100644 --- a/pkg/dpkg/changelog +++ b/pkg/dpkg/gbootroot-nest1/changelog @@ -1,19 +1,3 @@ -gbootroot (1.4.0-1) unstable; urgency=low - - * Had to add user-mode-linux/usr/lib/uml to the path to allow --home - to find port-helper, or otherwise root_fs complain. Have no idea - why this change exists with port-helper because wasn't the case - before. Also, added path for user-mode-linux/usr/bin to find the - other tools. - * When root_fs_helper was running with the newer Expect.pm, and - consequentially the newer uml kernel it became necessary to get out - when the kernel shuts down with a last function right when it says - "Power down." - * Checks for the proper version for newer libc6 linkers. Hopefully, - should work properly with libc6 > 2.3.1, too. - - -- Jonathan Rosenbaum Wed, 18 Dec 2002 02:26:53 -0500 - gbootroot (1.3.6-1) unstable; urgency=low * Updated to 2.4.18-2um and the latest uml tools 20020212, including diff --git a/pkg/dpkg/gbootroot-nest1/control b/pkg/dpkg/gbootroot-nest1/control new file mode 100644 index 0000000..c00c3f7 --- /dev/null +++ b/pkg/dpkg/gbootroot-nest1/control @@ -0,0 +1,30 @@ +Source: gbootroot-nest1 +Section: utils +Priority: optional +Maintainer: Jonathan Rosenbaum +Build-Depends: debhelper (>> 3.0.0), binutils (>= 2.13.90.0.16), fileutils (>= 4.1), gcc (>= 2:2.95.4), make, libc6-dev (>= 2.3.1), bin86, wget, mkcramfs, e2fsprogs, reiserfsprogs, genromfs, util-linux, mtd-tools, fakeroot, dpkg-dev, m4, libreadline4-dev +Standards-Version: 3.5.2 + +Package: gbootroot-nest1 +Architecture: i386 +Depends: ${perl:Depends}, perl-modules, libgtk-perl (>= 0.7002), libc6 (>= 2.1.2), libexpect-perl, ash, file, binutils, bzip2 +Recommends: dswim, lilo +Suggests: make-debian-x11 +Description: Boot/Root Filesystem Distribution testing and creation. + BootRoot makes the construction and development of distributions fun and + simple with its Root Methods (Yard) and user-mode-linux test bed. Finish + the product with a Boot Method (2-disk compression supported). Normal + (non-root) users can make root filesystems and boot disks. Includes the + make_debian script to create a testable user-mode-linux base Debian system + and a MTD Emulator useful for running distributions made with the jffs/jffs2 + filesystem. Add-ons available, see "apt-cache search gbootroot-nest1." + . + The latest and greatest gbootroot-nest1 and stuff can be found here: + . + http://prdownloads.sourceforge.net/gbootroot + http://prdownloads.sourceforge.net/avd + . + See manual in /usr/share/doc/gbootroot-nest1/html for instructions on how + to add the proper lines to your sources.list. Both binary and source + packages are available. + diff --git a/pkg/dpkg/gbootroot-nest1/copyright b/pkg/dpkg/gbootroot-nest1/copyright new file mode 100644 index 0000000..e66cac5 --- /dev/null +++ b/pkg/dpkg/gbootroot-nest1/copyright @@ -0,0 +1,10 @@ +This package was debianized by Jonathan Rosenbaum +freesource@users.sourceforge.net on Fri, 20 Dec 2002 19:51:56 -0500 +. +Author: +Jonathan Rosenbaum + +Copyright: + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL diff --git a/pkg/dpkg/gbootroot-nest1/doc-base b/pkg/dpkg/gbootroot-nest1/doc-base new file mode 100644 index 0000000..59ac358 --- /dev/null +++ b/pkg/dpkg/gbootroot-nest1/doc-base @@ -0,0 +1,9 @@ +Document: gbootroot +Title: gBootRoot Manual +Author: Jonathan Rosenbaum +Abstract: The definitive manual about gbootroot. +Section: Apps/Tools + +Format: HTML +Index: /usr/share/doc/gbootroot/html/index.html +Files: /usr/share/doc/gbootroot/html/*.html diff --git a/pkg/dpkg/gbootroot.postinst b/pkg/dpkg/gbootroot-nest1/gbootroot.postinst old mode 100644 new mode 100755 similarity index 100% rename from pkg/dpkg/gbootroot.postinst rename to pkg/dpkg/gbootroot-nest1/gbootroot.postinst diff --git a/pkg/dpkg/gbootroot.postrm b/pkg/dpkg/gbootroot-nest1/gbootroot.postrm similarity index 100% rename from pkg/dpkg/gbootroot.postrm rename to pkg/dpkg/gbootroot-nest1/gbootroot.postrm diff --git a/pkg/dpkg/gbootroot.prerm b/pkg/dpkg/gbootroot-nest1/gbootroot.prerm old mode 100644 new mode 100755 similarity index 100% rename from pkg/dpkg/gbootroot.prerm rename to pkg/dpkg/gbootroot-nest1/gbootroot.prerm diff --git a/pkg/dpkg/gbootroot-nest1/menu b/pkg/dpkg/gbootroot-nest1/menu new file mode 100644 index 0000000..50aadf8 --- /dev/null +++ b/pkg/dpkg/gbootroot-nest1/menu @@ -0,0 +1,10 @@ +# gBootRoot menu +# Jonathan Rosenbaum + +?package(gbootroot-nest1): \ + needs=x11 \ + section=Apps \ + title="gBootRoot" \ + command="/usr/bin/gbootroot" \ + icon=/usr/X11R6/include/X11/pixmaps/gbootroot.xpm \ + hints="Distribution" diff --git a/pkg/dpkg/gbootroot-nest1/rules b/pkg/dpkg/gbootroot-nest1/rules new file mode 100755 index 0000000..6661af4 --- /dev/null +++ b/pkg/dpkg/gbootroot-nest1/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +configure: configure-stamp +configure-stamp: + dh_testdir + + # Add here commands to configure the package. + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/gbootroot.sgml > gbootroot.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + #-$(MAKE) clean-sources + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/gbootroot. + $(MAKE) install DESTDIR=$(CURDIR)/debian/gbootroot-nest1 + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installman +# dh_installinfo + dh_undocumented + dh_installchangelogs +# dh_link +# dh_strip + dh_compress --exclude=boot_root.4 + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_perl +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure diff --git a/pkg/dpkg/gbootroot/changelog b/pkg/dpkg/gbootroot/changelog new file mode 100644 index 0000000..ecaa116 --- /dev/null +++ b/pkg/dpkg/gbootroot/changelog @@ -0,0 +1,409 @@ +gbootroot (1.3.6-1) unstable; urgency=low + + * Updated to 2.4.18-2um and the latest uml tools 20020212, including + tunctl from CVS, because it was missing from the uml_utilities + tar.bz2. This is a nice patch, and an earlier compilier issue has + disappeared. + * Added the MTD Emulation section to the UML Box. This allows + filesystems to be run on a simulated Memory Technology Device via + mtdram or blkmtd. This is most useful for running jffs2 fs + (compressed journaling fs designed for flash memory). This is handy + for shipping and running jffs2 images, and to test this and other fs + ultimately designated for a MTD device. With a little tweaking + they should run well on an x86 MTD. + * If a fs is being made with mkcramfs, genromfs, mkfs.jffs or + mkfs.jffs2 and the directories /dev or /initrd don't exist, they are + automatically are created during the create stage. Initrd dir is + needed for mtd emulation testing, and dev is also required. + * Added cad "Ctrl-Alt-Del" to mconsole interface, and documented it. + * Added EmptyFS.yard template with instructions, and which does what + you think it does. + * Now looks for mconsole at both Locations /tmp/uml/$umid/mconsole and + new location $ENV{HOME}/.uml/$umid/mconsole by not specifying a + direct path. Some older mconsoles seemed to require this, but 10um + onwards respects this. + * Now files for uml_exclusively are made in create_expect_uml which is + effectively known as the create stage. This avoids the unecessary + previous requirement of having to select the copy stage again just + to create a file for /dev/ubd/0. The file created is sparse, got + this idea from a discussion Jeff had with a user on uml-user. + * Added jffs/jffs2 image construction. + + -- Jonathan Rosenbaum Mon, 11 Mar 2002 00:43:24 -0500 + +gbootroot (1.3.5-1) unstable; urgency=low + + * Now the template called Helper.yard used to create the + root_fs_helper is included with root_fs_helper. + * 1.3.4 was awarded Editor's pick by SoftLandMark, but I recommend + upgrading to 1.3.5 because of my oversight with the root_fs_helper + issue, as well as the improved initrd testing capability of the + specially patched 2.4.17-10um kernel. I also recommend running + gbootroot as a normal user, at least that's what I usually do. :) + * Root_fs_helper was working fine, but because I hadn't committed, let + alone copied the new changes to CVS I didn't notice any aberrations + until I installed the new released version of gbootroot. This is + related to the new securretty requirements of uml. Problem fixed. + * Initrd was not working with any fs other than ext2. After + contacting the trinux-uml project, Matthew Franz + confirmed that he was having problems creating a working uml for the + initrd created by Bill Burdick . I + talked Bill into sending me his uml .config, and narrowed down the + problem to cramfs. Cramfs has known bugs as documented in the + kernel sources. Because cramfs was placed before just about every + fs in the VFS check order, and trinux-uml's initrd was minix, the + kernel failed, but an ext2 initrd didn't. Changing the order in + which filesystems are checked during the VFS stage by editing + fs/Makefile solves the problem. Thanks to Henrik Nordstrom + for pointing out how to do this at user-mode- + linux-devel. I am hoping the patch found in user-mode- + linux/usr/lib/uml/cramfs-vfs-oder.patch becomes part of uml. This + should have been corrected ages ago in the standard Linux kernel. + * Removed unecessary warning which warned that left-hand side + replacements couldn't be a directory if it happened to find that + directory on the hostfs. Directories can be replacements. + + -- Jonathan Rosenbaum Wed, 13 Feb 2002 15:11:41 -0500 + +gbootroot (1.3.4-1) unstable; urgency=low + + * Updated to 2.4.17-10um and added Jeff's initrd fix. + * Updated to 20020125 uml tools. + * The rpmized gbootroot package requires perl-Expect which in turn + requires perl-IO-Tty and perl-IO-Stty. A search on the Net revealed + that the existing rpms out there are either outdated, don't have + their dependencies set-up properly, or require a particular version + of the perl5 series. I made these rpms so they work on any i386 + architecture which is using the perl5 series. This includes 5.6.0 + and 5.6.1 which are in common use on most major distributions as of + the year 2002. If you have a problem with the automated Linux + virtual machine which appears related to these modules, please don't + hesitate to contact me. They are available at + prdownloads.sourceforge.net/gbootroot. + * Created rpms for Mandrake type dists, and Red Hat type dists. + * Added vc/? and vcs? to the etc/securetty files because the new uml + kernel uses these now. + * Fixed the fhs situation again. This time it will definitely work. + As I wrote in the code: "I always thought the BEGIN statements were + executed before everything else, but I have discovered that in this + case it has to be placed before the use statements if exec + /usr/bin/gbootroot is done via $PATH .. I guess that makes sense + because $PATH is established in this particular BEGIN." Other + executables have been fixed including expect_uml and + yard_chrooted_tests. + * Improved Replacements Box GUI. + * Added a button to open up the Filesystem Box from the ARS, this is + on the same line as Filesystem Size. + + -- Jonathan Rosenbaum Fri, 8 Feb 2002 19:33:13 -0500 + +gbootroot (1.3.3-1) unstable; urgency=low + + * During the boot stage the filsystem type was used to determine + whether to use the genext2fs (non-root) method or the normal method + used by root. Now the user type is used, this is better because it + prevents conflicts if a different filesystem type is chosen, or if a + non-root user changes to a different filesystem type in the + filesystem box and forgets to change back to genext2fs; however, it + prevents root from using the genext2fs method, which isn't a + problem. The sudo requirement for lilo is too much of a + requirement, and will be changed in future versions. + * Fixed another non-root boot/root bug. The info had it correct, but + the actual copy with genext2fs was being done from the wrong + location. This has been fixed. This method may be ditched for a + far better one in the near future. + * Had some testing code which was providing the wrong value for + $compress, this made non-root booting fail for bzip2 because bunzip2 + didn't exist in the initrd. + * Added another technique in the FAQ to show how space can be saved on + the root_fs by using the libraries from the initrd. Liav + instigated this by asking a question related to FAQ question 14, "So + if I understand correctly, it is not possible to copy libc from + /dev/ram0 to /dev/ram1 before mounting /dev/ram1 as / ? + * Liav pointed out how Yard can make boot/root floppies with a + compressed root filesystem. Edited FAQ question 13 to correctly + reflect how gz compressed root filesystems may be booted without an + initrd. + * State is saved for the Compression off check box and the Root + Filename save check box. + * The UML Kernel entry box in the ARS remembers state now. + * Changed the behavior of save_as so that when compression is chosen, + the entry won't be the same as that found in Root Filename, but + instead reflects the newly compressed file. This change was + precipitated by the previous change to the Accept behavior. + + -- Jonathan Rosenbaum Tue, 15 Jan 2002 13:50:08 -0500 + +gbootroot (1.3.2-1) unstable; urgency=low + + * Updated linux and modules to 2.4.17-4um. Made jffs and jffs2 part + of the kernel, and had to comment out the get_mtd_device function + call in jffs_fm.c and super.c to accomplish this. Looking forward + to more support from the uml project for mtd devices. + * Updated to the 20020104 uml tools, this includes port-helper which + is the new helper for allowing uml devices to be attached to a + specified host port. + * Changed the behavior of the Accept button so that when compression + is chosen (gzip or bz2) the Root Filename remains the same as + before. This is nice because the fs can be remade with the same + name and re-compressed, rather then appending gz or bz2 to the name. + Before if the user forget to delete the ending this would happen: + root_fs.bz2.bz2.bz2 + * Changed shells for root and user to /bin/sh in passwd-debian, + passwd.debian and passwd.example. This is a better idea, and + assumes sh links to a user defined shell, so if the shell is changed + the password files don't have to be. + * Added several new questions to the FAQ, thanks to Liav. + * Liav Asseraf points out a problem in 1.3.1. I + reply to him with this answer: "Indeed, you have found a bug. + Bootroot adheres to the most recent Filesystem Hierarchy Standard + (2.1); in previous bootroot versions a big chunk of the source code + was included in /usr/bin/gbootroot, but I decided to reorganize and + move most of that code to BootRoot/BootRoot.pm, in the process I + also moved a statement which executes before the rest of the program + does to set up a proper @INC. What this all means is that gbootroot + couldn't find the required modules." This bug has been fixed. + * Altered tooltip text for the Options entry to recognize that the + umid needs to be switched in the mconsole box in order for the new + Linux virtual machine to be controlled via the buttons and the + mconsole. The behavior could be changed to accomplish this + automatically, but that wouldn't be consistent with the behavior + one would expect from the mconsole; anyways the documentation + already explains to use switch in the mconsole. + + -- Jonathan Rosenbaum Fri, 11 Jan 2002 13:03:13 -0500 + +gbootroot (1.3.1-1) unstable; urgency=low + + * Added a complete interface to the mconsole in the UML Box. Multiple + options can be entered at one time. Options include: switch so + that the umid can be changed to control a different Linux virtual + machine, sysrq as in Documentation/sysrq.txt, config and remove for + devices (ubd?,eth?), reboot and halt, version to find the version + of the running uml kernel, and help. + * Added both a Reboot and Halt button to the UML Box. Both of these + buttons have an interface to mconsole, and provide clean control of + rebooting or halting a Linux virtual machine. When they fail, + Abort does all the clean-up, but this should be used as a last + resort. Both of these buttons initially parse the Options entry + for the first instance of umid + * Added a new stage button in the Yard Box called Copy. Create is now + Copy, and the uml_exclusively and genext2fs behavior are handled by + Create, this is much nicer because a new filsystem type can be + created without having to wait for everything to be copied again to + the sources directory. + * Updated the documentation and graphics to reflect the new changes, + and provide a new exercise. + * If the sources created from the template had a symlink in them from + a previous creation, you couldn't just press create again without + symlink() complaining (for instance, for genext2f and the new + uml_exclusively). This has been fixed. + * Compiled 2.4.16-2um linux and modules to specification for + root_fs_helper. Makefile properly edited to copy over the config + used. Ext2, cramfs, minix, reiserfs, and romfs are built-in to the + kernel. + * Got rid of the complete lock-up when large files are compressed, + ofcourse, users won't want to try to compress more than one format + at the same time, because the logic will get skewed. In the future + may make this OO. Added some verbosity to tell when the process + has begun and finished. + * Established logic for Filesystem Box based on ownership. Defaults + need to be different dependending on the user. Normal users + probably never will want to preserve permissions, but they may want + to toggle off UML Exclusively to create different filesystem types + when <= 8192 fs_size. Root users may want to turn off Preserve + Permissions to create a root only filesystem, and the may want to + toggle between creating root filesytems via loop devices or UML to + allow different filesystem types. + * Added UML Exclusively and Preserve Permissions check boxes to the + Filesystem Box. Esc closes, changed table size, and layout, + responds to return, and submit button defaults. + * Put Jeff Dikes UML.pm in BootRoot, and changed it to BootRoot::UML, + added one change to allow no password. + * The auto-magic test for uClibc was only testing for busybox, this + has been fixed. + + -- Jonathan Rosenbaum Mon, 24 Dec 2001 14:21:49 -0500 + +gbootroot (1.3.0-1) unstable; urgency=low + + * Added a README for users installing from the source package. + * Removed the enforcement of the yard suffix rule for templates, + because it was never really documented; however, it is still a nice + rule to follow despite that it is not enforced anymore. + * Added an archictecture-dependent replacements repository directory. + * Fixed the freezing behavior for particularly large templates, like + the ones produced by make_debian, and make_debian-X11. However, + overly large buffers in the verbosity box still hog cpu in a big + way. The best procedure for now is to open and close the box + between stages. + * Made the termcap check just a warning if terminfo or termcap don't + exist, If a terminfo directory is found, linux will need to exist or + the test will return error. This is better because the root + filesystem can still work if this information doesn't exist. A + minority of gettys will fail if they use termcap or terminfo, but + this check was removed from the chrooted tests several months ago + for the reason just cited. Note: check_getty_type_call was removed + from Yard.pm, but exists in chrooted tests without the termcap + check. Also, added a close which was missing. + * Removed an unnecessary check from the fstab test, and improved a + regexp which was failing if tabs were used in the fstab. + * State is saved for all check buttons when the yard box is opened and + closed. Deciding whether to save state between invocations of + gbootroot via a file. + * Moved the Changelog from within gbootroot to a Changes file in + /usr/share/doc/gbootroot, because it is getting quite large. + * Improved the sizing of the UML box. + * Added New Template (Alt-N) capability to the Yard Box. + * Added several new FAQ questions, added a lot more information on + "How do I use gBootRoot?" Updated the graphics for the + documentation. + * Updated to version 2.4.16 of user-mode-linux. + * The Yard Box has new check buttons which allows the parsing behavior + of the nss and pam configuration files to be turned off and on + (default). + * Pam.conf and pam.d/{service names or *} can now be checked for their + specified service modules. The service modules are located either + in /lib/security or /usr/lib/security and included with the file set + if they are found on the host system. The modules are then checked + for their dependencies which are included if they haven't + previously been specified. Therefore, the user no longer needs to + specify pam modules and dependencies in the template if the pam + parsing option in turned on. Nsswitch.conf can now be checked for + the service modules it specifies. The service modules pertaining to + the host systems libc6 are located and automatically included. The + modules are then checked for their dependencies which are included + if they haven't previously been specified. Therefore, the user no + longer needs to specify nss modules and dependencies in the + template if the pam parsing option in turned on. + * $ENV{RELEASE} is now initialized every time a check is run on the + template. Information can come from three sources, the kernel + version returned from a selected kernel in the main section, the + user defined kernel version in the ABS, or `uname -r`. User defined + kernel version overrides the kernel. The root_fs needs to be built + in relation to the actual kernel modules it will run on. + Previously the $RELEASE value wasn't returned properly because of + some bugs in kernel_version_check. This has been fixed. + * The proper ldd check is now used if a dynamically linked binary is + detected to require uClibc rather than libc6. The ldd from the + default location of /usr/i386-linux-uclibc/bin is used for uClibc. + The old behavior of automatically including the default loader for + the host system has been removed. + * Fixed pam test so that the 3rd field rather than the 4th field is + being checked in the service-name files found in /etc/pam.d/. The + 4th field is acceptable for pam.conf. If a path is specified in + either conf format, that path will be checked, otherwise, either + the pam default path of /usr/lib/security or the FSSTD location + /lib/security will be checked for a match. + * Fixed nss test so that it checks for the right + libnss_(service).so.$version if glibc 2.2 is used. Glibc 2.0 and + 2.1 used 1 and 2 respectively, but 2.2 uses 2. + * Experimental busybox and uClibc functionality included for boot_fs. + * Many improvements to the verbosity output. + * Replacements path is set just once. + * The Path Box only allowed extra paths to be added before the first + generation of a root_fs creation, this was because the values + weren't allowed to be changed after they were defined. This has + been fixed. + * Symlinks have been vastly improved. Fictional or real links can now + be specified, and links always follow the link -> (file | directory + ) format where either side can be existing dirs/files or fictional + dirs/files on the system. + * All of Tom's templates have been replaced with new templates clearly + marked as Examples. + * Example.yard takes advantage of the automated NSS and PAM feature, + and can create a devfs or nondevfs root filesystem, and has many + new replacements. The inittabs reflect modern versions of dpkg, + rpm, and slackware based distributions. + * Example-Mini.yard demonstrates the bare minimum required to create a + working root_fs. + * The documentation in the new templates has been improved to respect + the way gbootroot's Yard now works, since it has been greatly + modified from the original, and some old features deemed unnecessary + have been removed. + * The Debian.yard example has had a name change to Example- + Debian.yard, and has additional documentation so the user + understands its prerequisites. The FAQ covers make_debian usage. + * Chrooted tests in the Yard Box are disabled and removed when a non- + root user runs the box. + * ARS and YardBox error handling is much better because $error has + been made private, before it was mostly global in YardBox.pm which + meant an error value remained ERROR even when the problem was fixed + which caused the YardBox to fail to work properly after certain + errors. + * When the ARS hadn't been opened yet, the program reported that the + root device hadn't been umounted yet, this was observed with + genext2fs but was certainly a global bug. This has been fixed. + * The majority of add-on replacements except for passwd*, shadow, and + ld.so.conf have a CVS Id and "make_debian replacement". + * Original CVS information is now preserved so that non-root users and + root can't edit global replacements, the basic idea is that root + will usually be using an editor like Emacs in + $HOME/.gbootroot/yard/Replacements which respects that CVS versioned + files outside of the repository are read-only (essentially because + the date has changed). Users should make copies of versioned + replacements which they want to edit, for instance: fstab.debian- + 1000 Also, they shouldn't defeat the mechanism by removing the CVS + directories, although, only root has write permissions. + * All replacements are now symlinks which is helpful to maintain + static information for add-ons, anotherwards, this allows the + author to know that all his replacements are updated in user + workspaces when he releases a new add-on. Because of this change + symlinks will now be respected in the Replacements directory since + the file being pointed to will be used instead of the actual link + when constructing the root filesystem. + * Non-root users may now create boot disks. Boot Loaders may required + root permissions for some methods, and the fstab may need to be + edited, see FAQ. And some /lib/modules/`uname -r`/modules may + need to be given world read permissions. + * A dialog box has been added which will pop up when the lilo stage + has been reached for a normal user, explaining the requirements, + and what the user can do next which is explained in detail in the + FAQ. + * Non-root users may now create root filesystems up to 8192k in size + using genext2fs. FAQ explains how to exceed this limit as a normal + user. + * Added sources.list replacement. + * Added /swapfile to fstab.debian. + + -- Jonathan Rosenbaum Wed, 12 Dec 2001 15:07:54 -0500 + +gbootroot (1.2.14-1) unstable; urgency=low + + * Append field in the ABS now saves state for non-root users. Before it only + remembered state if lilo.conf could actually be read, ofcourse, this wasn't + an option for non-root users. The beginnings of non-root boot and root_fs + creation capabilities have been put into place, but haven't been fully + implemented. The end result of this is that directories created in + $tmp are now static for non-root users and now use the userid number to + keep track of different non-root users. + + * The author of swim came out with a new version he now calls dswim. This + means Debian System Wide Information Manager, but the "d" could also stand + for different. Changes have been made to make_debian to facilitate this + much more stable version of swim, and better non-installed package checks + have been implemented in make_debian. + + * The control dependencies have been vastly improved, and reflect the change + from swim to dswim. Yard_chrooted_tests is now put in a gbootroot specific + directory since it is unique to gbootroot. + + * The lastest user-mode-linux is included: 2.4.12 + + * Updated the documentation, and it includes a better explanation in step 7 + for "How can I test gBootRoot?" + + * Added checks for the existence of ash, lilo, bzip2, and file for the 2 + disk compression method. + + -- Jonathan Rosenbaum Wed, 24 Oct 2001 13:03:32 -0400 + +gbootroot (1.2.13-1) unstable; urgency=low + + * Initial Release. + + -- Jonathan Rosenbaum Tue, 9 Oct 2001 02:20:52 -0400 + +Local variables: +mode: debian-changelog +End: diff --git a/pkg/dpkg/control b/pkg/dpkg/gbootroot/control similarity index 62% rename from pkg/dpkg/control rename to pkg/dpkg/gbootroot/control index 98a9feb..b934dc8 100644 --- a/pkg/dpkg/control +++ b/pkg/dpkg/gbootroot/control @@ -2,7 +2,7 @@ Source: gbootroot Section: utils Priority: optional Maintainer: Jonathan Rosenbaum -Build-Depends: debhelper (>> 3.0.0), binutils, fileutils (>= 4.0), gcc | c-compiler, make, libc-dev, bin86, wget +Build-Depends: debhelper (>> 3.0.0), binutils (>= 2.13.90.0.16), fileutils (>= 4.1), gcc (>= 2:2.95.4), make, libc6-dev (>= 2.3.1), bin86, wget, mkcramfs, e2fsprogs, reiserfsprogs, genromfs, util-linux, mtd-tools, fakeroot, dpkg-dev, m4, libreadline4-dev Standards-Version: 3.5.2 Package: gbootroot @@ -19,10 +19,12 @@ Description: Boot/Root Filesystem Distribution testing and creation. and a MTD Emulator useful for running distributions made with the jffs/jffs2 filesystem. Add-ons available, see "apt-cache search gBootRoot." . - The latest and greatest gbootroot and stuff can be retrieved from here: + The latest and greatest gbootroot and stuff can be found here: . - deb http://prdownloads.sourceforge.net/gbootroot ./ - deb http://prdownloads.sourceforge.net/avd ./ + http://prdownloads.sourceforge.net/gbootroot + http://prdownloads.sourceforge.net/avd . - See manual for instructions on how to add lines to your sources.list so that - apt-get may be used for both binary and source packages. + See manual in /usr/share/doc/gbootroot/html for instructions on how + to add the proper lines to your sources.list. Both binary and source + packages are available. + diff --git a/pkg/dpkg/gbootroot/copyright b/pkg/dpkg/gbootroot/copyright new file mode 100644 index 0000000..e66cac5 --- /dev/null +++ b/pkg/dpkg/gbootroot/copyright @@ -0,0 +1,10 @@ +This package was debianized by Jonathan Rosenbaum +freesource@users.sourceforge.net on Fri, 20 Dec 2002 19:51:56 -0500 +. +Author: +Jonathan Rosenbaum + +Copyright: + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL diff --git a/pkg/dpkg/gbootroot/doc-base b/pkg/dpkg/gbootroot/doc-base new file mode 100644 index 0000000..59ac358 --- /dev/null +++ b/pkg/dpkg/gbootroot/doc-base @@ -0,0 +1,9 @@ +Document: gbootroot +Title: gBootRoot Manual +Author: Jonathan Rosenbaum +Abstract: The definitive manual about gbootroot. +Section: Apps/Tools + +Format: HTML +Index: /usr/share/doc/gbootroot/html/index.html +Files: /usr/share/doc/gbootroot/html/*.html diff --git a/pkg/dpkg/gbootroot/gbootroot.postinst b/pkg/dpkg/gbootroot/gbootroot.postinst new file mode 100755 index 0000000..3b6bc39 --- /dev/null +++ b/pkg/dpkg/gbootroot/gbootroot.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +#DEBHELPER# + +# Make uml_net setuid, but respects Sysadm's choices. + +if [ -z "$(dpkg-statoverride --list /usr/bin/uml_net)" ]; then + chown root.root /usr/bin/uml_net + chmod 4755 /usr/bin/uml_net +fi + diff --git a/pkg/dpkg/gbootroot/gbootroot.postrm b/pkg/dpkg/gbootroot/gbootroot.postrm new file mode 100755 index 0000000..a2c66fa --- /dev/null +++ b/pkg/dpkg/gbootroot/gbootroot.postrm @@ -0,0 +1,3 @@ +#!/bin/sh + +#DEBHELPER# diff --git a/pkg/dpkg/gbootroot/gbootroot.prerm b/pkg/dpkg/gbootroot/gbootroot.prerm new file mode 100755 index 0000000..118757e --- /dev/null +++ b/pkg/dpkg/gbootroot/gbootroot.prerm @@ -0,0 +1,9 @@ +#!/bin/sh + + +if [ -e /usr/share/gbootroot/yard/Replacements/dev/ubd0 ]; then + rm /usr/share/gbootroot/yard/Replacements/dev/ubd0 +fi + +#DEBHELPER# + diff --git a/pkg/dpkg/menu b/pkg/dpkg/gbootroot/menu similarity index 100% rename from pkg/dpkg/menu rename to pkg/dpkg/gbootroot/menu diff --git a/pkg/dpkg/rules b/pkg/dpkg/gbootroot/rules similarity index 96% rename from pkg/dpkg/rules rename to pkg/dpkg/gbootroot/rules index 2ba85e1..81ff01b 100755 --- a/pkg/dpkg/rules +++ b/pkg/dpkg/gbootroot/rules @@ -32,7 +32,7 @@ clean: # Add here commands to clean up after the build process. -$(MAKE) clean - -$(MAKE) clean-sources + #-$(MAKE) clean-sources dh_clean @@ -70,7 +70,7 @@ binary-arch: build install dh_installchangelogs # dh_link # dh_strip - dh_compress + dh_compress --exclude=boot_root.4 dh_fixperms # dh_makeshlibs dh_installdeb