Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jan 2013 01:36:36 +0100
From:      Ralf Mardorf <ralf.mardorf@rocketmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Sharing a mail folder between Linux and FreeBSD
Message-ID:  <1359333396.2513.10.camel@q>
In-Reply-To: <20130127135806.4d19e997.freebsd@edvax.de>
References:  <op.wrguj103uwjkcr@freebsd> <20130125133346.f1484ed8.freebsd@edvax.de> <op.wrgzatq7uwjkcr@freebsd> <20130125150414.f262d162.freebsd@edvax.de> <op.wrg019couwjkcr@freebsd> <20130125161215.f498f4e4.freebsd@edvax.de> <5102FE7B.4070808@gmail.com> <op.wrj87jhnuwjkcr@freebsd> <20130127153838.15b97613@X220.ovitrap.com> <20130127135806.4d19e997.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2013-01-27 at 13:58 +0100, Polytropon wrote:
> #  1.  `cd /usr/src'       (or to the directory containing your source tree).
> #  2.  `make buildworld'
> #  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE'     (default is GENERIC).
> #  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
> #       [steps 3. & 4. can be combined by using the "kernel" target]
> #  5.  `reboot'        (in single user mode: boot -s from the loader prompt).
> #  6.  `mergemaster -p'
> #  7.  `make installworld'
> #  8.  `make delete-old'
> #  9.  `mergemaster'            (you may wish to use -i, along with -U or -F).
> # 10.  `reboot'
> # 11.  `make delete-old-libs' (in case no 3rd party program uses them anymore)


What source tree? I only checked out the kernel source using svn and
IIRC it's using the /usr/src directory (I'm booted into Linux at the
moment), without a subdirectory /kernel. I can delete the kernel source,
since it's IMO fishy to have headers of another revision, than the
kernel is, but when I asked, I got a reply, that it should be ok for
FreeBSD. However, I never used the kernel source.

When I updated I did it like that (without subversion or cvs):

# cd /usr/ports/misc/mc && make install clean
# uname -r
8.3-RELEASE
# freebsd-update -r 9.1-RELEASE upgrade
# freebsd-update install
# shutdown -r now

# freebsd-update install
# cd /usr/ports/ports-mgmt/portupgrade && make install clean
# /usr/local/sbin/portupgrade -f ruby
# rm /var/db/pkg/pkgdb.db
# /usr/local/sbin/portupgrade -f ruby18-bdb
# rm /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db
# /usr/local/sbin/portupgrade -af
# freebsd-update install
# shutdown -r now

# freebsd-update IDS >> outfile.ids

I wanted to run it tonight, but since I don't know where my source tree
is, I can't continue.

Regards,
Ralf




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1359333396.2513.10.camel>