From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id 96797261B2 for ; Wed, 12 Jun 2024 04:32:26 +0200 (CEST) Received: from mail-lj1-f177.google.com ([209.85.208.177]) by 9front; Tue Jun 11 22:31:09 -0400 2024 Received: by mail-lj1-f177.google.com with SMTP id 38308e7fff4ca-2ebe785b234so26595721fa.1 for <9front@9front.org>; Tue, 11 Jun 2024 19:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718159467; x=1718764267; darn=9front.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=c2ZNvjBNHkw76WPibQG5r2OTjHUVaFKJCeofN2cpwqA=; b=P9R8QEDj2xoLD/48fktiTCSyhjdE7UIwaYFNCFdaC7cyUoO/IqUVPDSbk8qPIjFCTo 2wOr88VvYdBI5PjAt85cxBtvCu/kX6WwQKpk6M3rdhkh7x270TLfHihopA9RnjheQSYR Hxcls4YWyy3/tDvv9ejp63eyWyVLCZN7mLIY4+cH9y2FOaC3ah3TdOM4GJFVb9dzZ/LG ZySfDuPO5RORAYIAfCBz4jQFm2GK+LlWwcneJGWzY/mRmGvvdVKJYy22nAJnarITdSWm G1DZDLEgzxNGnB3ud25BEAFYvLF98vTNPTtYPAzgUVSyz0ms9FJXl7XatJfFoIErKt0N SBgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718159467; x=1718764267; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c2ZNvjBNHkw76WPibQG5r2OTjHUVaFKJCeofN2cpwqA=; b=giyIFFB4S/Am4p7sf0O9d+aLH8j+GkFzCyZOToFRMZu4iMovKyOZ4uzwmpBojXLnTf AZbMit95oBXJHrX9Jra86vexj1+oFabBMGFxi+qiT0NgujxHgmtLA7kV+TTFz9abKg5A 4yXMMTDvV3ngKxwfmdFI93gs6kpjJNwHd004TVncW/46a9Cif89BoG+GiZU+bVKp2gmC toBCNOsiRAFZhVU0tYW0m9r2LWZpohF43UCyA/USECDG39bpGDMoSI+Hfs5y1NEkNukH 36iJPOqNFGqcwupJ8rlAQDHFN9vK0FpwgFuVo3bAFzCBdTpn7GkpCvIK6+hOmUzG2GHE tt5A== X-Gm-Message-State: AOJu0Yw5bVxiIhZn3HTyIKD8uVXBkFh8QIrUjrZ87IjVzThEg7jsRyrV S4hRwOdowuPPHCgP0l40O5j/yyq/EsV3cnjVZCEAeVVmgDUUVBmP6+081MkWEQcgfTpfyzIUBrK LhBXiMr1yGpwRPoNpkH1zkC2brkOfUqw7 X-Google-Smtp-Source: AGHT+IGBprVn5H6Cxk7lMF7nX3n6AO3ihvIMAY2CZ1vHioaj47Cbnk7hFmP+BM6XO6TGc7Vv+UE7KvwU8DuLVS818zo= X-Received: by 2002:a2e:7c03:0:b0:2eb:fd7c:952a with SMTP id 38308e7fff4ca-2ebfd7c96c7mr1557891fa.10.1718159467112; Tue, 11 Jun 2024 19:31:07 -0700 (PDT) MIME-Version: 1.0 References: <1890322.tdWV9SEqCh@cixi> In-Reply-To: <1890322.tdWV9SEqCh@cixi> From: Thaddeus Woskowiak Date: Tue, 11 Jun 2024 22:30:30 -0400 Message-ID: To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: shared compliant markup-based out-scaling-scale plugin method Subject: Re: [9front] Staying up-to-date Reply-To: 9front@9front.org Precedence: bulk On Tue, Jun 11, 2024 at 10:58=E2=80=AFAM Thomas Nemeth wr= ote: > > Hi. > > I've read the FQA and some other documentation a lot and I'm amiss > about why my system upgrade script does not work the way I intend > it to work. I certainly don't know enough about the specifics and > peculiarities of rc. > > I made a script, named sysupgrade, that does what's in dash1, > section 5.2.2: "Building from source". > > ------8<------8<------8<------8<------8<------8<------8<------ > #!/bin/rc > > sysupdate > > # create any missing directories needed for the build > cd / > . /sys/lib/rootstub > > # build everything > cd /sys/src > mk install > mk clean > > # build manpage indices > cd /sys/man > mk > ------8<------8<------8<------8<------8<------8<------8<------ > > But, unfortunately it fails to execute everything so I usually > type them one by one... (well, today the compilation fails anyway). > > Can someone explain or tell me what I did wrong ? > > Thomas. > > Are you building your own 9front from source or simply keeping your existing installation up to date? If the latter then you just cd /sys/src ; sysupdate && mk install && mk clean Of course this does not build the kernel which you must perform manually.