9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] ISO 9front-8591: AVOID
@ 2021-07-18 17:43 ori
  0 siblings, 0 replies; only message in thread
From: ori @ 2021-07-18 17:43 UTC (permalink / raw)
  To: 9front

If you got this ISO, don't use it.

If you are on commit 2204634275cbb3337cfc7cc994b57f9aa4017d0d,
sysupdate BEFORE you install in /sys/src/cmd/git.

If you ran 'mk install, either restore git from the dump,
or apply the patch from the end of the email and pull
BEFORE you run sysupdate

If already updated and ran sysupdate again, reset the
commit IDs by hand:

	echo 2204634275cbb3337cfc7cc994b57f9aa4017d0d > /dist/plan9front/.git/refs/heads/front
	echo 2204634275cbb3337cfc7cc994b57f9aa4017d0d > /dist/plan9front/.git/refs/remotes/THEM/front

Then apply the patch and reinstall git.

You can apply the patch either by running:

	hget  http://git.9front.org/plan9front/plan9front/$fix/patch | \
		@{cd / && ape/patch -p1}

Or by applying:

diff be36c092ac061a04065720e98e5849130487be7f acc504c319a4b4188479cfa602e40cb6851c0528
--- a/sys/src/cmd/git/fetch.c	Sat Jul 17 14:56:11 2021
+++ b/sys/src/cmd/git/fetch.c	Sun Jul 18 10:59:51 2021
@@ -267,7 +267,7 @@
 	if((packtmp = smprint(".git/objects/pack/fetch.%d.pack", getpid())) == nil)
 		sysfatal("smprint: %r");
-	if((idxtmp = smprint(".git/objects/idx/fetch.%d.idx", getpid())) == nil)
+	if((idxtmp = smprint(".git/objects/pack/fetch.%d.idx", getpid())) == nil)
 		sysfatal("smprint: %r");
 	if(mkoutpath(packtmp) == -1)
 		sysfatal("could not create %s: %r", packtmp);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-18 18:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-18 17:43 [9front] ISO 9front-8591: AVOID ori

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ http://inbox.vuxu.org/9front \
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git