[Bug 243287] "make -C /usr/src/release OSRELEASE=something release" gives errors on stable/12 amd64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 16 10:36:22 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243287
Trond.Endrestol at ximalas.info changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Closed |Open
Resolution|FIXED |---
--- Comment #4 from Trond.Endrestol at ximalas.info ---
Still, something is not right.
First, I ran:
# make -C /usr/src/release -D NO_INSTALLEXTRAKERNELS NODOC=1 NOPORTS=1 NOSRC=1
disc1.iso memstick.img
Next, I ran:
# make -C /usr/src/release -D NO_INSTALLEXTRAKERNELS NODOC=1 NOPORTS=1 NOSRC=1
OSRELEASE=`hostname`-`uname -s`-`uname -r`-`uname -p` disc1.iso memstick.img
The latter command gave this output:
Building /usr/obj/usr/src/amd64.amd64/release/disc1.iso
200+0 records in
200+0 records out
819200 bytes transferred in 0.004640 secs (176549289 bytes/sec)
newfs_msdos: cannot get number of sectors per track: Operation not supported
newfs_msdos: cannot get number of heads: Operation not supported
/dev/md0: 1557 sectors in 1557 FAT12 clusters (512 bytes/cluster)
BytesPerSec=512 SecPerClust=1 ResSectors=1 FATs=2 RootDirEnts=512 Sectors=1600
Media=0xf8 FATsecs=5 SecPerTrack=63 Heads=1 HiddenSecs=0
1+0 records in
1+0 records out
32768 bytes transferred in 0.000188 secs (173858602 bytes/sec)
`memstick.img' is up to date.
I was expecting filenames such as
enterprise.ximalas.info-FreeBSD-12.1-STABLE-amd64disc1.iso
and
enterprise.ximalas.info-FreeBSD-12.1-STABLE-amd64memstick.img
or preferably
enterprise.ximalas.info-FreeBSD-12.1-STABLE-amd64-disc1.iso
and
enterprise.ximalas.info-FreeBSD-12.1-STABLE-amd64-memstick.img
Or is OSRELEASE only relevant when doing "make -C /usr/src/release ...
install"?
Maybe changing release(7) is in order. It states near the end:
OSRELEASE Optional base name for generated media images (e.g.,
FreeBSD-9.0-RC2-amd64). Defaults to the output of
`uname -s`-`uname -r`-`uname -p` within the chroot.
As far as I can tell, the last statement is false unless it relates to
release.sh, in which case it should be moved nearer to the description of
release.sh.
My source tree is pretty much up-to-date:
# svn info /usr/src
Path: /usr/src
Working Copy Root Path: /usr/src
URL: svn://svn.ximalas.info/freebsd/base/stable/12
Relative URL: ^/stable/12
Repository Root: svn://svn.ximalas.info/freebsd/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 356777
Node Kind: directory
Schedule: normal
Last Changed Author: dim
Last Changed Rev: 356777
Last Changed Date: 2020-01-16 08:02:09 +0100 (Thu, 16 Jan 2020)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list