Automated OS builds?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Automated OS builds?

Paul Suh-2
Folks,

My DuckDuckGo-fu seems to be weak right now.

Is there a set of automated scripts somewhere that:

1) Checks anoncvs*.*.openbsd.org:/cvs for updates to the patch branch source tree
2) Checks them out
3) Builds them
4) Builds a release

Then notifies me when this has happened?

I’m looking to follow the patch branch but since I’m using flashrd I can’t use syspatch on my production systems. (Yes I know I’m not asking for help with flashrd, but with an automated build system for the base system.)

I can hack something like this together but I’m kinda surprised that I can’t find something that someone else has already done. Or maybe I’m just bad with search engines.


—Paul

Reply | Threaded
Open this post in threaded view
|

Re: Automated OS builds?

Morten Gade Liebach
Read release(8), then write a script runs through the described process.


--
Morten Gade Liebach ★ https://m.lieba.ch/

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, January 5, 2020 5:29 PM, Paul Suh <[hidden email]> wrote:

> Folks,
>
> My DuckDuckGo-fu seems to be weak right now.
>
> Is there a set of automated scripts somewhere that:
>
> 1.  Checks anoncvs*.*.openbsd.org:/cvs for updates to the patch branch source tree
> 2.  Checks them out
> 3.  Builds them
> 4.  Builds a release
>
>     Then notifies me when this has happened?
>
>     I’m looking to follow the patch branch but since I’m using flashrd I can’t use syspatch on my production systems. (Yes I know I’m not asking for help with flashrd, but with an automated build system for the base system.)
>
>     I can hack something like this together but I’m kinda surprised that I can’t find something that someone else has already done. Or maybe I’m just bad with search engines.
>
>     —Paul
>


Reply | Threaded
Open this post in threaded view
|

Re: Automated OS builds?

Paul Suh-2
On Jan 5, 2020, at 12:43 PM, Morten Gade Liebach <[hidden email]> wrote:
>
> Read release(8), then write a script runs through the described process.

I can do that, and will if I have to, but if someone has already done it or has a base to start from that would be better. (I’ve been building OpenBSD releases that way since 3.2? 3.3? Something like that.)


—Paul

Reply | Threaded
Open this post in threaded view
|

Re: Automated OS builds?

Marc Espie-2
On Sun, Jan 05, 2020 at 06:08:55PM +0000, Paul Suh wrote:
> On Jan 5, 2020, at 12:43 PM, Morten Gade Liebach <[hidden email]> wrote:
> >
> > Read release(8), then write a script runs through the described process.
>
> I can do that, and will if I have to, but if someone has already done it or has a base to start from that would be better. (I’ve been building OpenBSD releases that way since 3.2? 3.3? Something like that.)

There are so many specifics to how each person configures his system and curates his local changes,
it's hard to give a "one size fits all".

(the complementary page for ports is bulk(8) btw
which goes to great length explaining the problems
you might encounter due to the size of the ports tree)

Reply | Threaded
Open this post in threaded view
|

Re: Automated OS builds?

Stuart Henderson
On 2020-01-05, Marc Espie <[hidden email]> wrote:
> On Sun, Jan 05, 2020 at 06:08:55PM +0000, Paul Suh wrote:
>> On Jan 5, 2020, at 12:43 PM, Morten Gade Liebach <[hidden email]> wrote:
>> >
>> > Read release(8), then write a script runs through the described process.
>>
>> I can do that, and will if I have to, but if someone has already done it or has a base to start from that would be better. (I’ve been building OpenBSD releases that way since 3.2? 3.3? Something like that.)
>
> There are so many specifics to how each person configures his system and curates his local changes,
> it's hard to give a "one size fits all".

Exactly. But don't bother trying to look for changes before deciding to
update the source tree from the repo - just do the 'cvs up' and check
the output to see if anything changed.
>