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
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
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
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
edf75d6081
Before device_table was popping off the first value assuming it was $mnt,
...
but this is no longer necessary, so this has been removed so that all devices
are made.
2001-11-06 07:36:20 +00:00
freesource
4f31aa18a8
Improves some info() output.
2001-11-06 07:29:19 +00:00
freesource
5e7a2a4292
Undef global values when genext2fs is used, this allows for a change in
...
fs creation type, and text change.
2001-11-04 19:53:57 +00:00
freesource
6ce5f51284
Cleaned-up, works nicely .. non-root fs creation.
2001-11-04 18:44:18 +00:00
freesource
4101cf371b
Have device_table functional.
2001-11-04 08:52:38 +00:00
freesource
2f4febb6eb
Changes for device_table
2001-11-01 18:32:31 +00:00
freesource
68c3a4476c
Have the dev logic, now need to build device table.
2001-11-01 18:05:05 +00:00
freesource
e81b3fd1ba
Improvement on second genext2fs regexp pass.
2001-11-01 17:28:02 +00:00
freesource
7886ea01f1
The beginnings of a regexp for building the device table.
2001-11-01 08:44:07 +00:00
freesource
5a8621791a
Some misc. changes.
2001-11-01 04:20:25 +00:00
freesource
fa7000f56e
Enters correct path for genext2fs.
2001-10-31 07:22:15 +00:00
freesource
2726b68559
This is the beginnings of non-root ext2 root_fs creation with Erick Anderson's
...
most recently revised genext2fs.
2001-10-31 06:51:59 +00:00
freesource
4050413657
Puts yard_chrooted_tests in /usr/lib/bootroot since this program is gbootroot
...
specific, makes for a more policy correct package.
2001-10-20 16:06:26 +00:00
freesource
fed9b6c6cd
The non-root saga continues.
2001-10-18 05:17:50 +00:00
freesource
cfa9689f91
This changes real uid id to effective uid id.
2001-10-17 05:44:54 +00:00
freesource
fef993baf9
Now a non-root user can make a root_fs, the administrator has to add an entry
...
for each user to the fstab, right now there is just a generic location for all
users. Special files aren't copied over if permissions don't allow it, but
devfs more than solves that problem!
2001-10-17 05:19:19 +00:00
freesource
15f744e865
This is nothing just a space or something.
2001-10-09 06:22:19 +00:00
freesource
20fa0a6591
Added some text changes.
2001-10-04 06:27:18 +00:00
freesource
640ddbca30
This fixes kernel_version_check to return a value.
2001-10-03 05:10:03 +00:00
freesource
593b4ce543
Updated copyright.
2001-09-30 17:44:44 +00:00
freesource
64771b8b7d
Updated the copyright information.
2001-09-28 05:00:50 +00:00
freesource
3fbf4f041f
This allows extra paths to work correctly.
2001-09-18 03:10:29 +00:00
freesource
c75586cf32
Hopefully, this properly fixes the relativing of dirs/files from
...
make_link_relative when it makes "absolutely" no sense.
2001-09-14 05:13:22 +00:00
freesource
b04224d6f1
This corrects a bug where onto_proc_filesystem was edited incorrectly and wasn't
...
checking for the proc_dev return value in the way originally intended.
2001-08-29 17:08:25 +00:00
freesource
01cb23d3d7
* This makes -> literal, before it was backwards. So /bin/sh -> bash works,
...
before it had to be /bin/bash -> /bin/sh, so now the ls -l interpretation
is correct.
* Fixes unitialized values in onto_proc_filesystem.
2001-08-24 17:33:42 +00:00
freesource
a673116d7e
This make sures the template tmp value is defined before testing it.
2001-08-23 05:00:01 +00:00
freesource
a94c7537c3
This fixes a major bug which effected copying because of the logic employed.
...
Now enoent (unstripped binary) copies properly. Uid/Gid for /home/user
will need to be handled either through a script which runs on first login,
or directly by the administrator, for now the adm will handle this, but
Replacement user/group are now preserved. Unless user is in the hosts
group file this is how things need to be done.
2001-08-22 23:35:49 +00:00
freesource
0052df1d3f
Global values are cleared when a new template in invocated.
2001-08-22 16:31:26 +00:00
freesource
44b5893be8
This improves some unmounting problems.
2001-08-19 21:03:20 +00:00
freesource
d18ede9a8b
Commented out return behavior when there were problems copying over files,
...
this may have been an abberation, but it isn't necessary to stop the whole
process.
2001-08-11 05:41:48 +00:00
freesource
600d6d856f
Just a close thingy.
2001-08-11 00:29:32 +00:00
freesource
064498349c
This clears up a problem which occured when the buffer got to big in the
...
verbosity box and memory started to get hogged. The buffer is now deleted when
ran through the check.
2001-08-03 19:41:52 +00:00
freesource
0782a0e861
Keeping $main::oldroot.
2001-08-03 04:38:57 +00:00
freesource
5b168775f4
Gets rid of some test markers.
2001-08-03 03:55:00 +00:00
freesource
581f5ee7d5
Added create_fstab().
2001-08-03 03:40:22 +00:00
freesource
925042de9e
Removed inode_size and replaced with $main::makefs, and made fs_type local
...
to create() since it is really only for informational purposes only. Now a
user can manipulate the filesystem creation command.
2001-08-02 17:43:12 +00:00
freesource
a4d0e89fad
Removing a checker left around.
2001-08-01 07:31:44 +00:00
freesource
1c3f0174be
BootRoot::Yard
2001-07-31 05:12:27 +00:00