From nobody Tue Dec 03 13:31:01 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y2hQ46bxQz5g4Zc for ; Tue, 03 Dec 2024 13:31:40 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y2hQ34hlRz42jm for ; Tue, 3 Dec 2024 13:31:39 +0000 (UTC) (envelope-from kudzu@tenebras.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1036.google.com with SMTP id 98e67ed59e1d1-2eeb4d643a5so1986217a91.3 for ; Tue, 03 Dec 2024 05:31:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20230601.gappssmtp.com; s=20230601; t=1733232698; x=1733837498; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9L9Wd42ivxkoLkrSfMysY5rKtqrtXQ5ZGUlrdO0XkJ0=; b=MTWxOocizzgJpnxktFdV5PzXfjUzCsSfWq5pz75i0xn1ZJM9LrgpxvuIwsv83p+bX8 05UGOQEESVdup/YDNiT8yKYHlOn1RWE5uufp0uK9PWWq+I3rQVark90TVY7aVekO7ODq zGO1/QHhHbTJ9Z/QFjv331UISgHsGxrGFfzIsvDN2SfS6MUvOPPQbpR72nV0ebpxnleK cn9y0uEabxeYFIXwB9d/XSCA/92lmrkclnihoAjurn/Sjx61hB2dykOdfFMArJYsupKw tZDuLjw7rrk8SQNprBrBL4pmth5qHtIwAkDHyzeo+bAKZSBn5GFmT42Zav1IKGmagIRp Biqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733232698; x=1733837498; h=cc: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=9L9Wd42ivxkoLkrSfMysY5rKtqrtXQ5ZGUlrdO0XkJ0=; b=O14O9LJN3C+pwL5CuzAbck41eRBKPQVNi6DMFr2HpgWoQ9k0VXmgrqH8Fs4+nrdQaZ IGKSy8Owy8+xeNHw+VmSwjSl4W0JrPHqfzsSmk5tF2d/NfAIV07KEfG3TasCfnGCPw74 WAphU+OfMSNjSQYG5MjkkLZfu32RseQ3n/euXBmrSpdm7hE/53rbjEAxyvWVqIG/x3LL eHXVCCX+Dvv4w8hCFxC9sKYaCrjUEoQd877tdrCBr7vrEURUuh+T9eKvf8TpgAqDoZz5 WsfME28atllYuxrZCkPctx7BBXKXyLMduITjDRrLZ9g1oU0/3xfYcm6eoDLw/QLVMX5i mq+Q== X-Gm-Message-State: AOJu0YxaVr4YhJ00GmM1OpEoOWCjpoB5+mQKMes8Bwwq2TqwJ/8r8kgt z23D8bOnBygPAfCPLFMdekma3Fp2o1aLEpMx/lPMs0OISIXNNyZ6nJMcOdywjYQfwsvXsFb92OZ jDiuK6emjFZLZ3db5YRKmOZ39M2nQILFHyN6RoX/DQyUAPLQ1mCE= X-Gm-Gg: ASbGncvXjcH6Nzkw7vjpg5g9JR1fW3kA9FtFRERl/wqCLM2i9CAQmOAYOwampPB8dvY b8lOf1UNK//hLI/8onArgdrD7N+xhn9hZF/3MW8b2EAkMztsF9g0Um0UV0Nf7KB918w== X-Google-Smtp-Source: AGHT+IGU2FDUNW2Q2WmnesT+FaWiKHb5ufFtT+zrjf8E61hlVgd/X67yD8mB3WMyiZZUSGUpCuf9YhMHjg5xx1GFeKw= X-Received: by 2002:a17:90b:380a:b0:2ee:cddd:2454 with SMTP id 98e67ed59e1d1-2ef011fc4b3mr3483139a91.15.1733232697960; Tue, 03 Dec 2024 05:31:37 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Michael Sierchio Date: Tue, 3 Dec 2024 08:31:01 -0500 Message-ID: Subject: Re: Is /usr/obj Required For Installation? To: Tim Daneliuk Cc: FreeBSD Mailing List Content-Type: multipart/alternative; boundary="00000000000046894c06285dafd5" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Y2hQ34hlRz42jm X-Spamd-Bar: ---- --00000000000046894c06285dafd5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Dec 3, 2024 at 8:17=E2=80=AFAM Tim Daneliuk = wrote: > After running buildworld and buildkern, is /usr/obj subsequently required > to install the new kernel(s) and world files or are all the required obje= ct > files already bound into installable libraries? I'm not sure I understand your question, but I'll blather on. /usr/obj/usr/src//sys/ contains the kernel and the .o files required for building it, and it's where it gets installed from. Once you've built and installed it, and world, you may safely rm -rf usr/obj/* without affecting a running system. I typically have micro instances as appliances and build kernels and world on another, more robust multiprocessor VM. --00000000000046894c06285dafd5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Tue, Dec 3, 2024= at 8:17=E2=80=AFAM Tim Daneliuk <thronobulax@gmail.com> wrote:
After running buildworld and buildkern, is /usr/obj= subsequently required
to install the new kernel(s) and world files or are all the required object=
files already bound into installable libraries?

=
I'm not sure I understand your question, but I'll blather on.= =C2=A0

/usr/obj/usr/src/<arch>/sys/<kernel name>


contains the ke= rnel and the .o files required for building it, and it's where it gets = installed from.=C2=A0 Once you've built and installed it, and world, yo= u may safely=C2=A0without affecting a running = system.=C2=A0=C2=A0

I typically have micro instances as appliances and build kernels and worl= d on another, more robust multiprocessor VM.

=
--00000000000046894c06285dafd5--