1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-02-23 17:13:22 -05:00

635 Commits

Author SHA1 Message Date
freesource
830467df85 This removes -i8192 from genext2fs default, this just causes problems, the defaults built into
genext2fs work alot better.
2001-11-29 20:09:34 +00:00
freesource
c3d1b82e40 If a replacement is found to be a file in an absolute location it is used. 2001-11-29 19:35:31 +00:00
freesource
8223d83b88 This adds more improvements to New Template, allowing a template of the same name to
be written over as a blank file, and puts a blank entry .. if the user attempts to write
to the blank entry, the dialog will ask if they want to save the original template.
2001-11-29 19:16:41 +00:00
freesource
0867ee47fb This adds the New Template function. 2001-11-29 19:06:47 +00:00
freesource
39adac66a8 This closes the save_as box when Esc is pressed, and associated New Template
with 103.
2001-11-29 17:59:24 +00:00
freesource
9658bc3c9c This tells exactly what is happening during PASS 2 as determined by the user. 2001-11-29 17:42:01 +00:00
freesource
f32ff9594c This returns the logic back to the original default for pam by not checking for lib deps
for pam service modules when PAM Config is off.
2001-11-29 17:32:33 +00:00
freesource
b883f0e687 Covered a mount umount routine with ne genext2f in tests, and removed some unecessary
verbosity which was basically just a repeat of itself.
2001-11-29 07:01:14 +00:00
freesource
eeb7a7a56d Added the size output for replacements, this was being skipped because of a next loop. 2001-11-29 06:28:53 +00:00
freesource
1791729abd This completes the NSS PAM interface, they both can be turned off or on via
the Yard Box now.
2001-11-29 04:24:46 +00:00
freesource
ff44ae48f5 This adds "New Template Alt-N" and "NSS Config & PAM Config" to the Yard Box. 2001-11-29 03:27:59 +00:00
freesource
4f7fbda058 Fixes a bug where libc was being tested in the mount directory rather than /lib, and undefs
%pam_repeats.  This allows multiple invocations to work properly.
2001-11-28 20:38:12 +00:00
freesource
5691d3ca77 Now it works really nicely, automatically gets the proper libraries for pam and nss using their
configurations files.
2001-11-28 20:16:54 +00:00
freesource
81ee541252 This adds pam service modules to %Included and cleans up verbosity. 2001-11-28 16:17:07 +00:00
freesource
df476a38e8 Prettifies the nss thing, and removes uneccessary code. 2001-11-28 09:07:48 +00:00
freesource
373fc2de40 This is hardwired now, but it parses nsswitch.conf and adds all the service modules found
in PASS 2 when links are checked for.  This involves adding and extra foreach loop.
2001-11-28 09:04:43 +00:00
freesource
74e5270f06 $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.
2001-11-28 02:39:27 +00:00
freesource
f256edcc87 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.
2001-11-27 20:56:09 +00:00
freesource
04354d29d3 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.
2001-11-27 20:33:20 +00:00
freesource
dab981e68f 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.
2001-11-27 20:09:08 +00:00
freesource
1501d365e3 Fixed nss test so that it checks for the right libnss_(function).so.$version.
The old versioning for libnss no longer applies.
2001-11-27 19:35:42 +00:00
freesource
97bc60ea6c Had ldd set to the busybox type. 2001-11-26 19:29:58 +00:00
freesource
d1cd32b44d Only gives $mtab a value on cancel if it is a bootloader check. 2001-11-26 08:22:34 +00:00
freesource
306cbc8cd0 Turned off the busybox test. 2001-11-26 07:07:04 +00:00
freesource
44a5828e82 This solves the problem of extra devices in boot_device_table.txt 2001-11-26 06:22:44 +00:00
freesource
f4d63b90d9 This does a great job of prompting the user if they have root privileges for lilo, they may
continue or stop the process.  This uses mtab().
2001-11-26 05:59:05 +00:00
freesource
a9c5a6d0b8 The latest and greatest user-mode-linux: 2.2.15 2001-11-26 04:43:36 +00:00
freesource
e507aa375e This almost creates a successful normal user boot disk .. but doesn't find /dev/fd0 despite
its existence.  Also, rootdisk isn't created yet.  Getting pretty close.
2001-11-23 06:38:02 +00:00
freesource
2eff37e59b This makes the default replacement directory permanent, rather than calling it over and
over again.  Right, now busyboxes ldd is being used in Yard.pm for some experiments.
2001-11-19 08:59:38 +00:00
freesource
a49dcf6c0d This make sure that path included the Replacements dir .. to be improved more. 2001-11-18 20:06:52 +00:00
freesource
d50e13b210 This provides proper output when the path has been changed, basically, if
it is the same thing again, it won't be listed.
2001-11-18 07:11:11 +00:00
freesource
849725cb71 Path is now updated properly, only adding a new path if it doesn't already
exist.
2001-11-18 07:00:54 +00:00
freesource
38aaef1e04 This fixes the problem with paths only being allowed to be altered initally,
what was happening was that @paths couldn't be changed after they were
defined, but not any more.
2001-11-18 05:56:44 +00:00
freesource
780ac8b3d8 This works. 2001-11-18 04:36:03 +00:00
freesource
019afeb942 Can't have anything on the first line here. 2001-11-18 04:33:44 +00:00
freesource
6c6b41a760 # This is the revised link specification which is more
# intuitive and allows user-defined links.
	  # The file can be fictional.  $abs_file_file means there is
	  # something on the right side.  Generally, we want to use
	  # the file on the right as the real file.
Simply put, this is a much better approach to handling -> in the template,
and it works nicely.  It produces warning when the file on the right can't
be discerned, but this is o.k..
2001-11-18 04:05:37 +00:00
freesource
80cb0748bb Added -z to genext2fs. 2001-11-17 08:33:37 +00:00
freesource
5af731e25c This allows tests to work properly from the Yard Box for non-root users,
chrooted tests disappear, it is assumed that most normal administrators
would never consider giving non-root users chroot capabilities, but you
never know, so only genext2fs is tested for, but room is left if another
fs is choosen.
2001-11-17 07:55:03 +00:00
freesource
caca3cae38 This solves a tough to discover bug. When root objcopy the permissions were
preserved for libraries, but this wasn't the case for non-root users.  The
part which did preserve permissions with chmod didn't allow non-root users,
but with genext2fs this isn't a problem, though chown is.  Anyways, when ld
or libc aren't 0755 basically the kernel can't find init.  Problem solved.
2001-11-17 06:14:35 +00:00
freesource
3015d7f233 Added -p to objcopy. 2001-11-17 06:11:53 +00:00
freesource
9bc3e644f1 This handles error much better by making $error private, before it was global
so it's value remained on error which caused the YardBox to fail to work
properly.
2001-11-17 02:23:57 +00:00
freesource
b22b1d9bee Added -r0 to genext2fs default for non-root user. Now if a genext2fs would
work for a non-root user, even though it appears exactly the same as the
root_fs created by root with the same template .. it just doesn't work.
2001-11-16 03:07:41 +00:00
freesource
8604aa6dd0 If Replacements are symlinks, the actual file linked to is copied, this helps
with the new structure of allowing symlinks in Replacements.
2001-11-15 07:48:23 +00:00
freesource
c25f039c0c Fixed a mistake, added $rm as found in *-X11 to create escaped ::Id. 2001-11-15 02:34:55 +00:00
freesource
b0a6543983 The latest and greatest uml 2.4.14. 2001-11-14 19:15:23 +00:00
freesource
bfd43e2154 This adds $main::Id and generated by $0, diversions, status and available
can't have comments added, but they are in their own dpkg directory anyways.
2001-11-09 20:02:53 +00:00
freesource
157e8de6e4 CVS information is preserved. 2001-11-08 07:12:40 +00:00
freesource
abc92cf316 The majority of replacements except for passwd*, shadow, and ld.so.conf have
$Id$ and made by make_debian.  Original CVS information is now preserved so
that non-root users 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.  Users should make copies of
versioned replacements which they want to edit, for instance:
fstab.debian-1000
2001-11-08 07:12:09 +00:00
freesource
2f320d8728 Some important sources. 2001-11-08 06:25:43 +00:00
freesource
7973e6cfdf Added $Id$ 2001-11-08 06:17:04 +00:00