cvsup is deleting my /sys/i386/conf/files

cvsup is deleting my /sys/i386/conf/files

Post by Gareth Gunnin » Sat, 29 Jan 2000 04:00:00



when I run cvsup with these options it deletes
devices.i386 files.i386 kernel.script majors.i386 options.i386
Makefile.i386
from my /sys/i386/conf/ I need these to use config.
my cvsup options are
*default  host=cvsup1.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs
*default  tag=RELENG_3
*default  delete use-rel-suffix
*default tag=.
src-all
and when I put the files in myself I get errors.
Can someone shed some light on this for me?

Thanks.

 
 
 

cvsup is deleting my /sys/i386/conf/files

Post by Bill Mora » Sun, 30 Jan 2000 04:00:00



> *default  release=cvs
> *default  tag=RELENG_3

In the provided examples, these two lines are combined into:
*default release=cvs tag=RELENG_3

Don't know if that could cause the problem or not. Why not look at the
provided examples in /usr/share/examples/cvsup I usually just edit
`stable-supfile' and use it.

-Bill

--
Microsoft: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming or what?

 
 
 

cvsup is deleting my /sys/i386/conf/files

Post by Gareth Gunnin » Sun, 30 Jan 2000 04:00:00




> > *default  release=cvs
> > *default  tag=RELENG_3

> In the provided examples, these two lines are combined into:
> *default release=cvs tag=RELENG_3

> Don't know if that could cause the problem or not. Why not look at the
> provided examples in /usr/share/examples/cvsup I usually just edit
> `stable-supfile' and use it.

> -Bill

> --
> Microsoft: Where do you want to go today?
> Linux: Where do you want to go tomorrow?
> FreeBSD: Are you guys coming or what?

Thanks for the suggestion, I have been trying loads of things
with my cvsup file. and nothing.
I can see it going in and updating GENERIC LINT as below
 Edit src/sys/i386/conf/GENERIC
  Add delta 1.239 2000.01.29.18.07.04 peter
 Edit src/sys/i386/conf/LINT
  Add delta 1.738 2000.01.29.13.54.40 shin
  Add delta 1.739 2000.01.29.16.39.14 peter
  Add delta 1.740 2000.01.29.17.28.48 peter
  Add delta 1.741 2000.01.29.17.56.23 peter
  Add delta 1.742 2000.01.29.18.07.04 peter
But refusing to get the other stuff??
 
 
 

cvsup is deleting my /sys/i386/conf/files

Post by Philipp Mergenthale » Mon, 31 Jan 2000 04:00:00



> when I run cvsup with these options it deletes
> devices.i386 files.i386 kernel.script majors.i386 options.i386
> Makefile.i386
> from my /sys/i386/conf/ I need these to use config.
> my cvsup options are
> *default  host=cvsup1.FreeBSD.org
> *default  base=/usr
> *default  prefix=/usr
> *default  release=cvs
> *default  tag=RELENG_3

Here you tell it to get files from the 3.x branch.

Quote:> *default  delete use-rel-suffix
> *default tag=.

Now you override it with ".", which means the -current branch.
(I think . actually means "the newest revision on the newest branch".)

Quote:> src-all

And now you get the sources for FreeBSD-current.
Welcome to the bleeding edge. :-)
The kernel configuration mechanism had some (internal) changes between
3.x and 4.x, and the files you list above aren't in -current anymore.
That's why cvsup deletes them.

If you want to use -stable, I'd suggest you remove the line with "tag=."
and run cvsup again. (Don't use the -s option for this "cleaning up".)
For your next kernel build, it may be necessary to run config with the
option "-r".
(Such a "downgrade" is a bit experimental. It may happen that
some files from -current are left in the source tree, because they
don't exist in 3.x, and cvsup doesn't know that they are now there.
This might cause a "make world" to fail. In that case, you'd have
to remove these files manually. I guess you could search them with
find -mtime.)

If you want to run -current, subscribe to the mailing list freebsd-
current and read it for a few days to see whether it's "safe" to rebuild
the system. Read /usr/src/UPDATING. The kernel config file syntax had
some changes; have a look at GENERIC and LINT. Before you do the first
"make world" with the sources from 4.x, you'll have to compile a 4.x-
kernel and reboot with it.

(In case you want to cvsup the ports-tree and doc-tree, too: those only
have one branch, "current", so to speak. E.g. if you want the sources
for 3.x and the updates for /usr/ports, you'd use:

*default  tag=RELENG_3
src-all
*default tag=.
ports-all
)

Bye, Philipp

--
http://www.uni-karlsruhe.de/~un1i/

 
 
 

cvsup is deleting my /sys/i386/conf/files

Post by Gareth Gunnin » Tue, 01 Feb 2000 04:00:00




> > when I run cvsup with these options it deletes
> > devices.i386 files.i386 kernel.script majors.i386 options.i386
> > Makefile.i386
> > from my /sys/i386/conf/ I need these to use config.
> > my cvsup options are
> > *default  host=cvsup1.FreeBSD.org
> > *default  base=/usr
> > *default  prefix=/usr
> > *default  release=cvs
> > *default  tag=RELENG_3

> Here you tell it to get files from the 3.x branch.

> > *default  delete use-rel-suffix
> > *default tag=.

> Now you override it with ".", which means the -current branch.
> (I think . actually means "the newest revision on the newest branch".)

> > src-all

> And now you get the sources for FreeBSD-current.
> Welcome to the bleeding edge. :-)
> The kernel configuration mechanism had some (internal) changes between
> 3.x and 4.x, and the files you list above aren't in -current anymore.
> That's why cvsup deletes them.

> If you want to use -stable, I'd suggest you remove the line with "tag=."
> and run cvsup again. (Don't use the -s option for this "cleaning up".)
> For your next kernel build, it may be necessary to run config with the
> option "-r".
> (Such a "downgrade" is a bit experimental. It may happen that
> some files from -current are left in the source tree, because they
> don't exist in 3.x, and cvsup doesn't know that they are now there.
> This might cause a "make world" to fail. In that case, you'd have
> to remove these files manually. I guess you could search them with
> find -mtime.)

> If you want to run -current, subscribe to the mailing list freebsd-
> current and read it for a few days to see whether it's "safe" to rebuild
> the system. Read /usr/src/UPDATING. The kernel config file syntax had
> some changes; have a look at GENERIC and LINT. Before you do the first
> "make world" with the sources from 4.x, you'll have to compile a 4.x-
> kernel and reboot with it.

> (In case you want to cvsup the ports-tree and doc-tree, too: those only
> have one branch, "current", so to speak. E.g. if you want the sources
> for 3.x and the updates for /usr/ports, you'd use:

> *default  tag=RELENG_3
> src-all
> *default tag=.
> ports-all
> )

> Bye, Philipp

> --
> http://www.uni-karlsruhe.de/~un1i/

Thanks you were right on the money.