9front - general discussion about 9front
 help / color / mirror / Atom feed
From: "Ethan Gardener" <eekee57@fastmail.fm>
To: 9front@9front.org
Subject: Re: [9front] 7c: compile error after sysupdate
Date: Mon, 24 Jun 2019 20:48:11 +0100	[thread overview]
Message-ID: <42f586ab-07a3-4d42-a7d3-e9e2971aa207@www.fastmail.com> (raw)
In-Reply-To: <021E44EDB2CBC6D1026A5D0D2A63D92F@felloff.net>

On Mon, Jun 24, 2019, at 8:05 PM, cinap_lenrek@felloff.net wrote:
> > would it be a good idea to have sysupdate source rootstub?
> 
> i worked on this for a day and then gave up. its too hard and
> too complicated.
> 
> sysupdate would need some check to update itself in case
> there needs to be stuff like this. but how do you deploy
> THAT change? the only way is to fork everything. have
> a thumbstone commit with the sysupdate change. and then
> the next sysupdate goes to a new repository.

hmm...  i've got an idea.  as you say below, it won't help with
adding dirs to /, but just for fun:

i don't think you'd need a new repository, but you would need a way
for sysupdate to check and update itself first.  the first update
would be trouble, you're right there.  after that, it wouldn't be
complex with one or two helper scripts.  sysupdate could have just 2
lines (plus #!), the first running sysupdate-updater, the second execs
sysupdate-doit.  sysupdate-updater updates sysupdate-doit, but
sysupdate and sysupdate-updater would be updated by hg as normal,
because they're not running when hg is.  not that the 2-line sysupdate
would ever need updating.

i could code this, if you'd like it.

> on the other hand, its not so easy to automate creating
> stuff in the root. initially, the root of the fileserver
> was readonly and the only way to create directories there
> was console command. what if you don't run sysupdate on
> the fileserver but from a cpu server? then you can't
> access the fileserver console.

oh yes, of course.  


  reply	other threads:[~2019-06-24 19:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-24 19:04 cinap_lenrek
2019-06-24 19:48 ` Ethan Gardener [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-06-24  9:36 cinap_lenrek
2019-06-24 13:50 ` Stanley Lieber
2019-06-24 18:48 ` Ethan Gardener
2019-06-24 19:00   ` hiro
2019-06-24 19:18     ` Ethan Gardener

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42f586ab-07a3-4d42-a7d3-e9e2971aa207@www.fastmail.com \
    --to=eekee57@fastmail.fm \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).