From nobody Thu May 26 21:08:32 2022 X-Original-To: bugs@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 B42A31B51F87 for ; Thu, 26 May 2022 21:08:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L8LBn2mHfz3NT1 for ; Thu, 26 May 2022 21:08:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3BC5C1575D for ; Thu, 26 May 2022 21:08:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24QL8Xo7075674 for ; Thu, 26 May 2022 21:08:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24QL8XAV075673 for bugs@FreeBSD.org; Thu, 26 May 2022 21:08:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 264264] pkg-static should support --repo-conf-dir Date: Thu, 26 May 2022 21:08:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653599313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=bsfx4fkV77FeCIQrNSLF/0lO9DQYawF25T77p2w1nUY=; b=GhBUVt1ZmT/h07omXJuYVHnSaf8DGq/O4nLBgB8yYmBs+LTMYamMDdQpc5Ubq9APj78aLy UG+Ov4bRrJcAqa3fgM23qm05zJi8QBJnBCAvg0FUkvGj2klTZ7TKt8+cQ/NhWFlSd4Si6D 5xtRJtM1+rYw6/gjjNafXMrSlAbaMoQ52jfrEe3aQ6uzgpXuy+YtMzoFPUQN1YE0hD6bfW BrUZd+woitJEYjy0x6Lmv8X7MIjMVIFGrhqAPmd/eKkSTFTHv8SZDYcJsYk+v4XVqMEyll 3hBzF7DsGelimDO1RXm3iX53GSs0t23egmo1eF8RmrGbGvJ1sORzzzz8LIEUSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653599313; a=rsa-sha256; cv=none; b=AeUP1jvJdY+8MBXfUA5/4rBzmsM05yrvSmlKO0CI383yjeWohAcD/9WTGtLZldsqJm5FzU kpEjx4QxvLp6I0Fn9tjbZChG/caiWdknbpvYrnGOMNNIkj5WRQdORkajGnY1FC+qp3eGGl uHX3IBn57zbgnOzwYYSC4QseqyoXxc2HM3h2aVNZXgiaybCOT2X9vUXNyYYuatKBzu7LC4 GItx9Cwc3ou04+ff7RXEk0UWchY/ZOyT2xYGuNG7XFRBc6nCy7C2bX31vuoaCSn+XYHlRQ LtSDvJjp3Kkc51Zj11IgPCOnd76ArdMIw6w7YIVteXr98nP62koE1HfduXPU0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264264 Bug ID: 264264 Summary: pkg-static should support --repo-conf-dir Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org The full pkg command supports a -R or --repo-conf-dir option to read its re= pos from a non-standard location. However, pkg-static does not. If it did, th= en you could easily boostrap pkg from the DVD installation media, like this: pkg --repo-conf-dir /dist/packages/repos -r FreeBSD_install_cdrom bootstrap or pkg --repo-conf-dir /dist/packages/repos -r FreeBSD_install_cdrom add /dist/packages/*amd64/All/pkg-*.pkg But since it does not, the only way to bootstrap pkg from the DVD is to copy that config file to /etc/pkg. --=20 You are receiving this mail because: You are the assignee for the bug.=