Making OpenBSD Binary Patches With Chroot 66
Lawrence Teo writes "Unlike other operating systems, patches for the OpenBSD base system are distributed as source code patches. These patches are usually applied by compiling and installing them onto the target system. While that upgrade procedure is well documented, it is not suitable for systems that don't have the OpenBSD compiler set installed for whatever reason, such as disk-space constraints. To fill this gap, open source projects like binpatch were started to allow administrators to create binary patches using the BSD make system. This article proposes an alternative method to build binary patches using a chroot environment in an attempt to more closely mirror the instructions given in the OpenBSD patch files."
Thank you OpenBSD (Score:1, Insightful)
PFSense has to be the best firewall software around. PFSense > mOnOwall, smoothwall, or any pos Linux firewall
Yeah, totally well-supported comment, dude. (Score:1)
I agree. PF is just like so totally awesome and everything else is like major sucks. Because I say so.
Re:Yeah, BLOBs...that's EXACTLY what OpenBSD is fo (Score:2, Funny)
Re: (Score:2)
Re: (Score:1)
And I say that as a person who only uses OpenBSD and Gentoo (as far as free OS's are concerned).
What can I say, I'm a glutton for punishment.
Re: (Score:1, Insightful)
OBSD is so fucking cohesive and stable compared to Linux that I can't imagine ever wanting to go back.
Have I missed something here? (Score:3, Insightful)
Re:Have I missed something here? (Score:4, Insightful)
I know every fourth word out of Theo's mouth is a slight against Linux, but that doesn't mean everyone related to OpenBSD does this.
Re: (Score:1, Offtopic)
Re: (Score:2)
DO NOT CLICK LINK! troll! (Score:1)
Re: (Score:3, Informative)
Re: (Score:3, Insightful)
I'm writing this on an OpenBSD 4.1-current laptop (IBM A31p ThinkPad) and
have used OpenBSD exclusively since 2001 for all my desktops. A lot of
people are discovering that OpenBSD does really well as a desktop. With
the introduction of 4.1, Open Office is supported, not to mention KDE,
media stuff, a really outstanding population of wireless cards, etc. I
think there are people who think of OpenBSD as a just a firewall; as
good (well,
Why on the desktop? (Score:2)
Re: (Score:2)
Check this out. I
can put
random line
breaks in my posts, too! It's
like turning
everything
into poetry.
Re:disk constraints? (Score:4, Informative)
We use flash memory, and the space and rewrite cycle requirements for compiling on this are prohibitive.
Re: (Score:2)
As do I, if I look across the room right now. A mini VIA machine, bought originally to play with, that now boots a stripped-down OpenBSD off a read-only mounted IDE-connected CF card, running firewall & local DNS.
And the point of this article is *stripped down*. Unfortunately, the writer gets it all wrong, re-invents someone else's wheel, and doesn't really solve the prob
Slashvertisement (Score:5, Insightful)
Re: (Score:1, Flamebait)
Seems pretty unlikely in this case doesn't it?
Re: (Score:2)
Don't patch! (Score:3, Funny)
Re:Don't patch! (Score:5, Funny)
You, me, parking lot.
Re: (Score:2)
Re: (Score:2)
And frolicked in the SCSI disk in a land called Bee Ess Dee.
Little Theo de Raadt loved that rascal puff,
And brought him threads and interrupts and other fancy stuff!
Re: (Score:1)
Why not copy-on-write? (Score:1, Interesting)
(1) Create a new directory (the author creates something in
(2) Unpack a brand new OpenBSD distro and source distro to thi
Factual Errors (Score:4, Interesting)
Re: (Score:1, Flamebait)
Re: (Score:1)
Re: (Score:2)
Similar to existing techniques? (Score:3, Informative)
Furthermore, the FreeBSD manual recommends a similar procedure for automated building of package lists (lists of files installed by a package): create a regular port, install it into a temporary copy of a base filesystem, and use mtree to figure out what files were modified during the installation process. In this case no chroot environment is used, since ports are expected to honour the installation prefix (given in PREFIX).
So it's a pretty well-established technique; I'm not even sure using it to upgrade the base system is novel: as of late, FreeBSD provides binary updates to its operating system in addition to the traditional source upgrades (and binary releases), although I'm not sure how these packages are created.
Re: (Score:3, Insightful)
If I could use a few words to describe the interaction of base system packages on Linux with the equivalent on BSD, I could describe the BSD scheme with words like "small", "simple", "cohesive", "compact". Although many different software package
Re: (Score:1)
Thanks for the description. I haven't really used BSD, but the description -- one big unit -- interests me to try it out.
Re: (Score:2)
The only thing wrong with proper package management is that OpenBSD doesn't have it, so you're going to get lots of touchy-feely responses about how it feels better, or is about some matter of taste to do extra work that someone else has already done.
Fortunately, FreeBSD has something _almost_ as good as Slackware's packaging system (which isn't very) so it shows that at least a f
Re: (Score:3, Informative)
Maintenance actually gets easier, the more machines you have. If you need to build from ports for some reason, you only have to do it once, and can distribute the generated packages across as many systems as you want.
Re: (Score:2)
Slackware's packages are truly horrible, but dependency tracking isn't very important.
Of course it should get easier. If maintenance got harder then nobody would use FreeBSD. You're missing the point. If I build the
Re: (Score:2)
You've completely and utterly ignored a key point:
"If you need to build from ports for some reason,"
FreeBSD, NetBSD, and OpenBSD provide full packages of almost all of their ports (a few have licensing issues), just like Linux.
You haven't mentioned one single issue where FreeBS
Where dreams are crushed. (Score:3)
This is the beauty of peer review, especially from a group as vicious as Slashdot. I imagine the author of this process was so pleased with himself and excited to share his ingenuity with the world, only to submit it here and have his ideas stomped, blasted, toasted, dragged through mud, and rendered to pieces. Not that I would suggest we do anything different, but sometimes I cannot help but to admire the crucible that is public forum.
Article: Testdriving -current (Score:1, Offtopic)
http://www.feyrer.de/NetBSD/testdriving-current.h
Maybe it's of interest to someone. Enjoy!
- Hubert
Just like Gerardo Santana's work (Score:3, Informative)