freesource
f15a977976
Added utmp and wtmp to the replacement rcS.
23 years ago
freesource
60bf0b8d05
This is the replacement template for Sample.yard and Sample-pruned.yard which really haven't
been updated since 1996. The new template is uptodate, and provides instructions inline
with the new features found in gbootroot's Yard.
23 years ago
freesource
f3666f6ee2
Decided against Esc for closing the Yard Box .. Alt-W is sufficient and safer.
23 years ago
freesource
0248fba79e
More changes to make_link_absolute, since return value and value (what Tom had a tendency
to do) don't mix and match happily.
23 years ago
freesource
c8a2ebb971
Added some more to the shortcuts box.
23 years ago
freesource
c7f6af4af5
This takes care of a problem when links were specified which didn't actually exist, or
had no / appended .. basically dirname turned into "." which created a directory
apart from the loopback dir. Fixed in make_link_absolute.
23 years ago
freesource
9d2ffa3a89
Added Esc close capability for save as.
23 years ago
freesource
3c073ca3dd
Old code which was automatically finding a ld loader regardless of the users own wishes
has been consigned to a function call auto_loader which will not be used because this
gets away in creating dists with alternative libs, and ld is almost always found if required
binaries are chosen, anyways.
23 years ago
freesource
830467df85
This removes -i8192 from genext2fs default, this just causes problems, the defaults built into
genext2fs work alot better.
23 years ago
freesource
c3d1b82e40
If a replacement is found to be a file in an absolute location it is used.
23 years ago
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.
23 years ago
freesource
0867ee47fb
This adds the New Template function.
23 years ago
freesource
39adac66a8
This closes the save_as box when Esc is pressed, and associated New Template
with 103.
23 years ago
freesource
9658bc3c9c
This tells exactly what is happening during PASS 2 as determined by the user.
23 years ago
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.
23 years ago
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.
23 years ago
freesource
eeb7a7a56d
Added the size output for replacements, this was being skipped because of a next loop.
23 years ago
freesource
1791729abd
This completes the NSS PAM interface, they both can be turned off or on via
the Yard Box now.
23 years ago
freesource
ff44ae48f5
This adds "New Template Alt-N" and "NSS Config & PAM Config" to the Yard Box.
23 years ago
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.
23 years ago
freesource
5691d3ca77
Now it works really nicely, automatically gets the proper libraries for pam and nss using their
configurations files.
23 years ago
freesource
81ee541252
This adds pam service modules to %Included and cleans up verbosity.
23 years ago
freesource
df476a38e8
Prettifies the nss thing, and removes uneccessary code.
23 years ago
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.
23 years ago
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.
23 years ago
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.
23 years ago
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.
23 years ago
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.
23 years ago
freesource
1501d365e3
Fixed nss test so that it checks for the right libnss_(function).so.$version.
The old versioning for libnss no longer applies.
23 years ago
freesource
97bc60ea6c
Had ldd set to the busybox type.
23 years ago
freesource
d1cd32b44d
Only gives $mtab a value on cancel if it is a bootloader check.
23 years ago
freesource
306cbc8cd0
Turned off the busybox test.
23 years ago
freesource
44a5828e82
This solves the problem of extra devices in boot_device_table.txt
23 years ago
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().
23 years ago
freesource
a9c5a6d0b8
The latest and greatest user-mode-linux: 2.2.15
23 years ago
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.
23 years ago
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.
23 years ago
freesource
a49dcf6c0d
This make sure that path included the Replacements dir .. to be improved more.
23 years ago
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.
23 years ago
freesource
849725cb71
Path is now updated properly, only adding a new path if it doesn't already
exist.
23 years ago
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.
23 years ago
freesource
780ac8b3d8
This works.
23 years ago
freesource
019afeb942
Can't have anything on the first line here.
23 years ago
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..
23 years ago
freesource
80cb0748bb
Added -z to genext2fs.
23 years ago
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.
23 years ago
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.
23 years ago
freesource
3015d7f233
Added -p to objcopy.
23 years ago
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.
23 years ago
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.
23 years ago