Re: [Q] Building a release, how do I create install60.fs and install60.iso

2016-06-17 Thread Bryan C. Everly
With help from Theo Buehler, I was able to create the install60.fs and
install60.iso images.

I would like to propose a patch to /usr/src/share/man/man8/release.8
that includes what I learned.  I have attached a CVS diff of the
proposed manpage change.

Should I submit the patch to this list or to another?

Thanks everyone!
Index: release.8
===
RCS file: /cvs/src/share/man/man8/release.8,v
retrieving revision 1.72
diff -u -p -r1.72 release.8
@@ -34,6 +34,8 @@ Build and install xenocara.
 Make and validate the xenocara release.
 .It
 Make the third party packages.
+.It
+Build the installer images.
 .El
 .Pp
 The following sections describe each of the required steps in detail.
@@ -338,6 +340,26 @@ subsystem of contributed applications is
 for installation, either individually or in bulk.
 This is described in
 .Xr ports 7 .
+.Ss 8. Build the installer images
+.Pp
+At this point,
+.Va RELEASEDIR
+contains the
+.Ox
+.Sq tarballs
+necessary to install the system by hand or upgrade an existing system.
+.Pp
+To create the install${VERSION}.fs (bootable flash drive installer) and the
+install${VERSION}.iso (bootable optical media installer):
+.Bd -literal -offset indent
+# export RELDIR=your-releasedir; export RELXDIR=your-xenocara-releasedir
+# cd /usr/src/distrib/${ARCH}/iso && make
+# cd /usr/src/distrib/${ARCH}/iso && make install
+# unset RELDIR RELXDIR
+.Ed
+.Pp
+At this point, you will have the two installer images in your release
+directory.
 .Sh SEE ALSO
 .Xr cvs 1 ,
 .Xr doas 1 ,



Re: [Q] Building a release, how do I create install60.fs and install60.iso

2016-06-17 Thread Bryan C. Everly
> They are part of release.
> (man release)
>
> The rules are somewhere arch-dependent under distrib, e.g.,
> distrib/macppc/iso

Marc,

Thanks for the reply.  I was following along with man release -
unfortunately my RELEASEDIR doesn't contain those two files.  I'm
guessing that there is some additional make target that I need to
tickle but I haven't found it yet.  I'll keep digging.

Thanks,
Bryan



Re: [Q] Building a release, how do I create install60.fs and install60.iso

2016-06-17 Thread Bryan C. Everly
Thanks Scott.  I'm backing up the internal drive via time machine
right now.  I have a hacked kernel that is seeing the NVMe drive just
fine.  I'm going to shrink it, create an empty partition and see what
happens when I try to install OpenBSD 6.0-current on it.

Thanks,
Bryan


On Fri, Jun 17, 2016 at 11:30 AM, Scott Bonds  wrote:
> Just wanted to say good luck and I'm rooting for you! I've got a Macbook8,1
> that would be better with OpenBSD running most days instead of OS X.  :)
>
>
> On 06/16, Bryan C. Everly wrote:
>>
>> Sorry if this is an obvious one but I've been all over the FAQ, read the
>> makefiles, etc. and cannot for the life of me figure out how those files
>> get created.  I have everything else (all of the *.tgz files, etc.) just
>> not these two.
>>
>> I'm probably on a fool's errand but I'm trying to get this MacBook 9,1
>> working.  I have figured out that the PCI identifier for the NVMe
>> controller in this one is actually 0x2003 (seems like the older model was
>> 0x2001 according to the mailing lists).
>>
>> If I can get an installer image, I'm going to try risking my internal
>> drive's sanity and see if I can get it partitioned with the NVMe driver as
>> it is today.  I've been looking at the SPI driver code in the Linux kernel
>> and it seems comprehensible...
>>
>> Thanks for any help folks can provide.
>>
>> --
>>
>> Thanks,
>> Bryan



Re: [Q] Building a release, how do I create install60.fs and install60.iso

2016-06-17 Thread Scott Bonds
Just wanted to say good luck and I'm rooting for you! I've got a 
Macbook8,1 that would be better with OpenBSD running most days instead 
of OS X.  :)


On 06/16, Bryan C. Everly wrote:

Sorry if this is an obvious one but I've been all over the FAQ, read the
makefiles, etc. and cannot for the life of me figure out how those files
get created.  I have everything else (all of the *.tgz files, etc.) just
not these two.

I'm probably on a fool's errand but I'm trying to get this MacBook 9,1
working.  I have figured out that the PCI identifier for the NVMe
controller in this one is actually 0x2003 (seems like the older model was
0x2001 according to the mailing lists).

If I can get an installer image, I'm going to try risking my internal
drive's sanity and see if I can get it partitioned with the NVMe driver as
it is today.  I've been looking at the SPI driver code in the Linux kernel
and it seems comprehensible...

Thanks for any help folks can provide.

--

Thanks,
Bryan




Re: [Q] Building a release, how do I create install60.fs and install60.iso

2016-06-17 Thread Marc Espie
On Thu, Jun 16, 2016 at 09:39:50PM -0400, Bryan C. Everly wrote:
> Sorry if this is an obvious one but I've been all over the FAQ, read the
> makefiles, etc. and cannot for the life of me figure out how those files
> get created.  I have everything else (all of the *.tgz files, etc.) just
> not these two.
> 
> I'm probably on a fool's errand but I'm trying to get this MacBook 9,1
> working.  I have figured out that the PCI identifier for the NVMe
> controller in this one is actually 0x2003 (seems like the older model was
> 0x2001 according to the mailing lists).
> 
> If I can get an installer image, I'm going to try risking my internal
> drive's sanity and see if I can get it partitioned with the NVMe driver as
> it is today.  I've been looking at the SPI driver code in the Linux kernel
> and it seems comprehensible...

They are part of release.
(man release)

The rules are somewhere arch-dependent under distrib, e.g.,
distrib/macppc/iso



Re: [Q] Building a release, how do I create install60.fs and install60.iso

2016-06-16 Thread Bodie

On 17.06.2016 03:39, Bryan C. Everly wrote:
Sorry if this is an obvious one but I've been all over the FAQ, read 
the
makefiles, etc. and cannot for the life of me figure out how those 
files
get created.  I have everything else (all of the *.tgz files, etc.) 
just

not these two.


man release

But I suspect you were already there. You can take a look at ISO 
available
from mirrors and check its contents and create that ISO same way with 
your

files



I'm probably on a fool's errand but I'm trying to get this MacBook 
9,1

working.  I have figured out that the PCI identifier for the NVMe
controller in this one is actually 0x2003 (seems like the older model 
was

0x2001 according to the mailing lists).

If I can get an installer image, I'm going to try risking my internal
drive's sanity and see if I can get it partitioned with the NVMe 
driver as
it is today.  I've been looking at the SPI driver code in the Linux 
kernel

and it seems comprehensible...

Thanks for any help folks can provide.


Most easy way is to use snapshot, but because of BETA phase now last 
one is
15 days old so either you can try it if it works else you can try 
something else.
USB flash is simply as HDD so you can eg. make dd of your current to 
flash.
For EFI you can follow 
https://blog.jasper.la/openbsd-uefi-bootloader-howto/
(only "special" part here is -b option for fdisk which is not so 
understandable

in man, rest is easy)



[Q] Building a release, how do I create install60.fs and install60.iso

2016-06-16 Thread Bryan C. Everly
Sorry if this is an obvious one but I've been all over the FAQ, read the
makefiles, etc. and cannot for the life of me figure out how those files
get created.  I have everything else (all of the *.tgz files, etc.) just
not these two.

I'm probably on a fool's errand but I'm trying to get this MacBook 9,1
working.  I have figured out that the PCI identifier for the NVMe
controller in this one is actually 0x2003 (seems like the older model was
0x2001 according to the mailing lists).

If I can get an installer image, I'm going to try risking my internal
drive's sanity and see if I can get it partitioned with the NVMe driver as
it is today.  I've been looking at the SPI driver code in the Linux kernel
and it seems comprehensible...

Thanks for any help folks can provide.

-- 

Thanks,
Bryan