1
0
mirror of https://github.com/fspc/gbootroot.git synced 2025-03-11 15:23:23 -04:00

607 Commits

Author SHA1 Message Date
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
freesource
4b2f957f1c Added make_debian created with 2001-11-08 05:59:48 +00:00
freesource
e2bae597d0 Added $Id$ 2001-11-08 05:56:42 +00:00
freesource
c9d4b99c3b Added $Id$ 2001-11-08 05:50:20 +00:00
freesource
687910faaa Changed $Id$ 2001-11-08 03:19:36 +00:00
freesource
33e7205dde O.k, this will work. 2001-11-07 19:07:44 +00:00
freesource
b15007a721 Testing $Id. 2001-11-07 19:03:55 +00:00
freesource
036d5d111b Added $Id 2001-11-07 18:55:21 +00:00
freesource
682ca44096 $Id$ now put properly into the template. 2001-11-07 18:48:15 +00:00
freesource
319426440e A different approach to $Id$ 2001-11-07 18:35:06 +00:00
freesource
a21fa68f3e Added $Id$ 2001-11-07 18:26:39 +00:00
freesource
2b5179472b Text additions. 2001-11-07 07:47:11 +00:00
freesource
6297583e9b This puts the logic for the ARS device in the proper place in submit. 2001-11-07 01:17:39 +00:00
freesource
08b4a09338 Removed the commented out sections used to test. 2001-11-06 20:07:13 +00:00
freesource
338370c319 This does it! Now non-root users can create complete boot/root sets ..the
only catch is lilo, but working that one out.
2001-11-06 20:05:59 +00:00
freesource
12807a509e If the ARS is never opened, $entry_advanced[3] eq "", so now when $um == 0
it defaults to the value for BOOT_DEVICE.
2001-11-06 19:16:57 +00:00
freesource
b26efaef3b This is better because it checks to see if the real device is mounted,
ofcourse this is only necessary when lilo is used.
2001-11-06 08:30:02 +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
cde7f50f3f Almost have genextfs done for boot, now just have to use a smaller kernel,
and put everything somewhere else besides $mnt, so that lilo can do its
thing on a real device assuming fstab is edited for a non-root user.
2001-11-06 07:28:44 +00:00
freesource
4592b76a91 This adds the -r option to depmod so that it doesn't complain for non-root
users, which is cool.
2001-11-06 05:03:15 +00:00
freesource
905be9a57d Now makes initrd as non-root user. 2001-11-06 02:55:12 +00:00
freesource
2924fdf6d6 Added explanation about LOGFILE .. error and info. 2001-11-05 19:30:22 +00:00
freesource
5dd1ff6f99 Explains error output for gbootroot. 2001-11-05 19:11:52 +00:00
freesource
770ee31a7c Changed mind about 0444 for root, actually, the symlink provides the protection,
and the permissions are necessary, too .. the original ones.
2001-11-05 04:28:13 +00:00
freesource
2f718bd0c8 Startin verbosity logging before user dir creation, since the subs require
verbosity.
2001-11-05 04:12:05 +00:00
freesource
f9d75803d8 Although this should be done in the Makefile, 0444 is done on the replacements
if root is running.
2001-11-05 04:02:54 +00:00
freesource
1c246541f2 All replacements are now symlinks, and they will also be read-only. 2001-11-05 03:48:00 +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