On 29.11.2019 08:45, Clay Daniels wrote:
> Another question. I know I need to write the boot file to the usb drive
> thus:
> # dd if=install66.fs of=/dev/da0 bs=1M conv=sync
> But can I just use plain old "cp base66.tgz /mnt" etc for the other
> files?
>
Sounds like you are rushing too quickly and too much being used to
wrong approach learned on Linux.........
How about to start here first:
https://www.openbsd.org/faq/faq4.html
then:
https://www.openbsd.org/faq/faq1.html#ManPages
https://www.openbsd.org/faq/faq10.html
followed by anything more you will need.
Trust me, you will be surprised how many questions will not need to be
asked at all in future ;-)
> On Fri, Nov 29, 2019 at 1:26 AM Clay Daniels
> <clay.daniels.jr@gmail.com>
> wrote:
>
>> Nick, thanks for straightening me out about what is actually going on
>> here
>> with the install. I see that there is now a fresh snapshot with
>> today's
>> date, not the one I downloaded and ran yesterday. This might tend to
>> keep
>> one busy. I'm not sure I would not be better off doing what Bruno &
>> Marc
>> suggested and run sysupgrade. Thanks to them for the advice.
>>
>> If I do decide to put the filesets on the the install thumbdrive, I
>> see a
>> total of 26 files in the directory. Obviously some are not necessary
>> like
>> the floppy or both the .fs & .iso (just one needed), nor the test
>> instructions, etc.
>> So which files do I REALLY need on my usb thumbdrive to get a complete
>> install, x included?
>>
>> Please excuse the "top-posting". That's the only way my darn google
>> mail
>> does reply's. Kind of irritating, to me and the reader too.
>>
>> Clay
>>
>>
>>
>>
>> On Thu, Nov 28, 2019 at 12:34 PM Nick Holland
>> <nick@holland-consulting.net>
>> wrote:
>>
>>> On 2019-11-27 21:29, Edgar Pettijohn wrote:
>>> > On Wed, Nov 27, 2019 at 08:05:30PM -0600, Clay Daniels wrote:
>>> >> I have successfully installed OpenBSD 6.6 release and would like to
>>> give
>>> >> the Current Snapshots a try. I went to a mirror, and to:
>>> >>
>>> >> Index of /pub/OpenBSD/snapshots/amd64/
>>> >>
>>> >> I saw install66.fs (probably for usb memstick) and install66.iso
>>> (surely
>>> >> for a cd/dvd) at ~450Mb. I picked the install66.fs, wrote it to a usb
>>> >> thumbdrive, and it starts the install. When i get into the install it
>>> asks
>>> >> where are the file sets? Humm, maybe it gets these online and it tries
>>> to
>>> >> do this but no luck. It was late last night, and I checked to see if
>>> it had
>>> >> written anything to my disk, which it had not, and went to bed. This
>>> >> evening I'm looking a bit deeper at the snapshot directory and I
>>> suspect I
>>> >> need to provide the install with base66.tzg at ~239Mb.
>>>
>>> NO!
>>>
>>> [snip misleading stuff]
>>> > I noticed this also, but hadn't had time to figure out if I had messed
>>> up or
>>> > the installer had. As a general rule I assume its me that messed up.
>>> Its odd
>>> > if you mount the install66.fs you can see the pub/amd64 directory, but
>>> during
>>> > installation it can't seem to find the directory regardless of what I
>>> have
>>> > tried.
>>> >
>>> > Edgar
>>>
>>> First of all...nothing at all to do about snapshots -- the OpenBSD
>>> installation process has remained amazingly stable over the last 20
>>> years.
>>> New options here and there, but overall, very similar. Unless
>>> something
>>> changed in the last few days, installing a snapshot is identical to
>>> installing 6.6.
>>>
>>> The installXX.iso and installXX.fs are complete, stand-alone
>>> installation
>>> kits. Everything you need is on them. You can boot from them, and
>>> all
>>> the installation files are right there. Look Ma! No network needed!
>>> ...well...unfortunately there is the issue of firmware files, which
>>> are
>>> legally not feasible to put on the install media, so you will need
>>> network
>>> for most machines eventually. But let's ignore that for now. :)
>>>
>>> Once the system has booted on the install kernel, you have three
>>> devices
>>> you are working with:
>>> 1) the install kernel's internal "RAM disk" that is part of bsd.rd
>>> which
>>> you booted from,
>>> 2) your target disk
>>> 3) the USB drive with the install files on it.
>>>
>>> The reason you can't see the install files on the USB stick from the
>>> install kernel is they aren't mounted. You didn't boot from the
>>> entire
>>> USB stick, you booted from ONE TINY LITTLE bsd.rd file, that just
>>> happened
>>> to be sitting on the big USB stick...but as far as bsd.rd is
>>> concerned,
>>> the USB stick isn't part of the booted environment (yet).
>>>
>>> You aren't booting from a "Live Media". You are booting from a tiny
>>> kernel
>>> with a built in file system that's sitting on the same inert file
>>> system
>>> as
>>> the install files.
>>>
>>> Read that over and over until you understand what I'm saying, not
>>> what you
>>> are assuming is going on. It's really important to understand. It's
>>> very
>>> different from many Linux installation processes -- you are running
>>> off a
>>> file only 10MB in size which is now completely in RAM. That file
>>> JUST
>>> HAPPENED to come from a USB stick that's much bigger.
>>>
>>> So, when it comes to answering where your install files are, they are
>>> on
>>> a disk, but it's NOT a mounted disk. It's on your USB drive that's
>>> not
>>> mounted now, and won't be after installation, but could be useful
>>> shortly.
>>>
>>> Your next problem is...WHICH disk? On a minimal system, it would be
>>> the
>>> next sd device after your install disk -- assuming you are installing
>>> to
>>> sd0, your USB stick might be sd1. HOWEVER, if you have a flash media
>>> reader
>>> on your system, who knows where it is. One trick would be to unplug
>>> your
>>> USB drive and plug it back in and look at the white-on-blue console
>>> message
>>> that come up at you. Yes, you are unpluging your boot device, sounds
>>> bad,
>>> but read what I wrote earlier, it's no longer using that -- the boot
>>> has
>>> completed, and it's running from RAM now, it's completely ignoring
>>> that
>>> USB drive. So let's say you do this and you see it's sd4. Tell the
>>> installer the files are coming from a file system not currently
>>> mounted
>>> and when it asks, tell it "sd4"
>>>
>>> Nick.
>>>
>>>
Friday, November 29, 2019
[update] abcl-1.6.0
Hi,
Heres first attempt to update abcl to latest version.
This adds support for newer java versions.
Patching the port a bit to avoid fetching JUnit jar file in order to run tests.
Instead fetch it as part of distfiles and tweak the build file to include it.
Timo
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/abcl/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile 22 Sep 2019 15:46:37 -0000 1.16
+++ Makefile 29 Nov 2019 07:53:37 -0000
@@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.16 2019/09/22 15:46:37 kurt Exp $
COMMENT = Common Lisp dialect for the Java Virtual Machine
-V = 1.5.0
+V = 1.6.0
+JUNIT_V = 4.12
DISTNAME = abcl-src-${V}
-REVISION = 3
PKGNAME = abcl-${V}
PKG_ARCH = *
CATEGORIES = lang
-HOMEPAGE = http://common-lisp.net/project/armedbear/
+HOMEPAGE = https://abcl.org/
MAINTAINER = Timo Myyra <timo.myyra@bittivirhe.fi>
@@ -17,9 +17,15 @@ MAINTAINER = Timo Myyra <timo.myyra@bit
PERMIT_PACKAGE = Yes
MASTER_SITES = ${HOMEPAGE}/releases/$V/
+MASTER_SITES0 = https://github.com/junit-team/junit4/releases/download/r${JUNIT_V}/
+
+DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
+ junit-${JUNIT_V}.jar:0
+
+EXTRACT_ONLY = ${DISTNAME}${EXTRACT_SUFX}
MODULES = java
-MODJAVA_VER = 1.8
+MODJAVA_VER = 1.8+
MODJAVA_BUILD = ant
MODJAVA_BUILD_TARGET_NAME = abcl.jar
@@ -40,7 +46,9 @@ do-install:
${INSTALL_DATA} ${FILESDIR}/abcl_completions ${ABCL_HOME}
do-test:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/ant ${TEST_TARGET}
+ cp -v ${FULLDISTDIR}/junit-${JUNIT_V}.jar ${WRKDIR}
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/ant \
+ -Djunit.path=${WRKDIR}/junit-${JUNIT_V}.jar ${TEST_TARGET}
# maintainer target to generate completions file
completions: install
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/abcl/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo 31 Aug 2017 06:32:13 -0000 1.6
+++ distinfo 29 Nov 2019 07:53:37 -0000
@@ -1,2 +1,4 @@
-SHA256 (abcl-src-1.5.0.tar.gz) = kg7n1jSn9M7KCkadQx02EaMhxWaBTV3bktdZUMBjG8I=
-SIZE (abcl-src-1.5.0.tar.gz) = 1187678
+SHA256 (abcl-src-1.6.0.tar.gz) = iT/OgV0/yaOqJQx4/4TtLlG3AvccsR4b78Ki7Jxma0M=
+SHA256 (junit-4.12.jar) = WXIfCAXiI9hLkGd4h9n/Vn3FNNfFAsqQPAwrF/BcEWo=
+SIZE (abcl-src-1.6.0.tar.gz) = 2509074
+SIZE (junit-4.12.jar) = 314932
Index: files/abcl_completions
===================================================================
RCS file: /cvs/ports/lang/abcl/files/abcl_completions,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 abcl_completions
--- files/abcl_completions 31 Aug 2017 06:32:13 -0000 1.4
+++ files/abcl_completions 29 Nov 2019 07:53:37 -0000
@@ -653,6 +653,7 @@ jvm:%make-protected-node
jvm:%make-synchronized-node
jvm:%make-tagbody-node
jvm:%make-unwind-protect-node
+jvm:%print-jvm-class-name
jvm:%with-compilation-unit
jvm:abcl-class-file-p
jvm:accumulate-operand
@@ -740,6 +741,7 @@ jvm:constant-float/int-p
jvm:constant-member-ref-p
jvm:constant-name/type-p
jvm:constant-p
+jvm:constant-pool-index
jvm:constant-string-p
jvm:constant-utf8-p
jvm:constant-value-attribute-p
@@ -2364,6 +2366,7 @@ system:backtrace
system:backtrace-as-list
system:base-classname
system:bit-array-same-dimensions-p
+system:bogus-sublist-error
system:boot-classloader
system:built-in-function-p
system:cache-emf
@@ -2509,6 +2512,7 @@ system:dump-vector
system:empty-environment-p
system:ensure-available-symbols
system:ensure-input-stream
+system:enumerate-resource-directories
system:environment-add-function-definition
system:environment-add-macro-definition
system:environment-add-symbol-binding
@@ -2558,6 +2562,7 @@ system:find-system
system:find-system-jar
system:fixnum-constant-value
system:fixnum-type-p
+system:flatten
system:float-denormalized-p
system:float-infinity-p
system:float-nan-p
@@ -2631,9 +2636,11 @@ system:internal-debug
system:invoke-debugger-report-condition
system:istep
system:java-long-type-p
+system:java.class.path
system:keyword-supplied-p
system:keywordify
system:known-type-p
+system:lambda-list-broken-key-list-error
system:lambda-name
system:last-cons-of
system:layout-class
@@ -2954,6 +2961,7 @@ system:svset
system:swap-slots
system:symbol-macro-p
system:symbolicate
+system:system-artifacts-are-jars-p
system:system-jar-p
system:system-stream-p
system:to-file
Index: patches/patch-build_xml
===================================================================
RCS file: patches/patch-build_xml
diff -N patches/patch-build_xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-build_xml 29 Nov 2019 07:53:37 -0000
@@ -0,0 +1,22 @@
+$OpenBSD$
+
+allows skipping junit fetch during test phase.
+
+Index: build.xml
+--- build.xml.orig
++++ build.xml
+@@ -1014,11 +1014,9 @@ ${basedir}/../cl-bench
+ <get
+ src="http://cloud.github.com/downloads/KentBeck/junit/junit-4.8.1.jar"
+ usetimestamp="true"
+- dest="${junit.path}"/>
+- <get
+- src="${maven.dist.uri}"
+- usetimestamp="true"
+- dest="${maven.local.path}"/>
++ dest="${junit.path}"
++ skipexisting="true">
++ </get>
+ </target>
+
+ <target name="abcl.ext.maven" depends="abcl.ext">
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/abcl/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 PLIST
--- pkg/PLIST 31 Aug 2017 06:32:13 -0000 1.4
+++ pkg/PLIST 29 Nov 2019 07:53:37 -0000
@@ -476,3 +476,4 @@ abcl/src/org/armedbear/lisp/with-standar
abcl/src/org/armedbear/lisp/write-sequence.lisp
abcl/src/org/armedbear/lisp/zip.java
bin/abcl
+share/doc/pkg-readmes/${PKGSTEM}
Index: pkg/README
===================================================================
RCS file: pkg/README
diff -N pkg/README
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/README 29 Nov 2019 07:53:37 -0000
@@ -0,0 +1,2 @@
+In order to use CFFI to access foreign libraries the jna package needs
+to be installed.
Heres first attempt to update abcl to latest version.
This adds support for newer java versions.
Patching the port a bit to avoid fetching JUnit jar file in order to run tests.
Instead fetch it as part of distfiles and tweak the build file to include it.
Timo
Index: Makefile
===================================================================
RCS file: /cvs/ports/lang/abcl/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile 22 Sep 2019 15:46:37 -0000 1.16
+++ Makefile 29 Nov 2019 07:53:37 -0000
@@ -1,15 +1,15 @@
# $OpenBSD: Makefile,v 1.16 2019/09/22 15:46:37 kurt Exp $
COMMENT = Common Lisp dialect for the Java Virtual Machine
-V = 1.5.0
+V = 1.6.0
+JUNIT_V = 4.12
DISTNAME = abcl-src-${V}
-REVISION = 3
PKGNAME = abcl-${V}
PKG_ARCH = *
CATEGORIES = lang
-HOMEPAGE = http://common-lisp.net/project/armedbear/
+HOMEPAGE = https://abcl.org/
MAINTAINER = Timo Myyra <timo.myyra@bittivirhe.fi>
@@ -17,9 +17,15 @@ MAINTAINER = Timo Myyra <timo.myyra@bit
PERMIT_PACKAGE = Yes
MASTER_SITES = ${HOMEPAGE}/releases/$V/
+MASTER_SITES0 = https://github.com/junit-team/junit4/releases/download/r${JUNIT_V}/
+
+DISTFILES = ${DISTNAME}${EXTRACT_SUFX} \
+ junit-${JUNIT_V}.jar:0
+
+EXTRACT_ONLY = ${DISTNAME}${EXTRACT_SUFX}
MODULES = java
-MODJAVA_VER = 1.8
+MODJAVA_VER = 1.8+
MODJAVA_BUILD = ant
MODJAVA_BUILD_TARGET_NAME = abcl.jar
@@ -40,7 +46,9 @@ do-install:
${INSTALL_DATA} ${FILESDIR}/abcl_completions ${ABCL_HOME}
do-test:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/ant ${TEST_TARGET}
+ cp -v ${FULLDISTDIR}/junit-${JUNIT_V}.jar ${WRKDIR}
+ cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/ant \
+ -Djunit.path=${WRKDIR}/junit-${JUNIT_V}.jar ${TEST_TARGET}
# maintainer target to generate completions file
completions: install
Index: distinfo
===================================================================
RCS file: /cvs/ports/lang/abcl/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo 31 Aug 2017 06:32:13 -0000 1.6
+++ distinfo 29 Nov 2019 07:53:37 -0000
@@ -1,2 +1,4 @@
-SHA256 (abcl-src-1.5.0.tar.gz) = kg7n1jSn9M7KCkadQx02EaMhxWaBTV3bktdZUMBjG8I=
-SIZE (abcl-src-1.5.0.tar.gz) = 1187678
+SHA256 (abcl-src-1.6.0.tar.gz) = iT/OgV0/yaOqJQx4/4TtLlG3AvccsR4b78Ki7Jxma0M=
+SHA256 (junit-4.12.jar) = WXIfCAXiI9hLkGd4h9n/Vn3FNNfFAsqQPAwrF/BcEWo=
+SIZE (abcl-src-1.6.0.tar.gz) = 2509074
+SIZE (junit-4.12.jar) = 314932
Index: files/abcl_completions
===================================================================
RCS file: /cvs/ports/lang/abcl/files/abcl_completions,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 abcl_completions
--- files/abcl_completions 31 Aug 2017 06:32:13 -0000 1.4
+++ files/abcl_completions 29 Nov 2019 07:53:37 -0000
@@ -653,6 +653,7 @@ jvm:%make-protected-node
jvm:%make-synchronized-node
jvm:%make-tagbody-node
jvm:%make-unwind-protect-node
+jvm:%print-jvm-class-name
jvm:%with-compilation-unit
jvm:abcl-class-file-p
jvm:accumulate-operand
@@ -740,6 +741,7 @@ jvm:constant-float/int-p
jvm:constant-member-ref-p
jvm:constant-name/type-p
jvm:constant-p
+jvm:constant-pool-index
jvm:constant-string-p
jvm:constant-utf8-p
jvm:constant-value-attribute-p
@@ -2364,6 +2366,7 @@ system:backtrace
system:backtrace-as-list
system:base-classname
system:bit-array-same-dimensions-p
+system:bogus-sublist-error
system:boot-classloader
system:built-in-function-p
system:cache-emf
@@ -2509,6 +2512,7 @@ system:dump-vector
system:empty-environment-p
system:ensure-available-symbols
system:ensure-input-stream
+system:enumerate-resource-directories
system:environment-add-function-definition
system:environment-add-macro-definition
system:environment-add-symbol-binding
@@ -2558,6 +2562,7 @@ system:find-system
system:find-system-jar
system:fixnum-constant-value
system:fixnum-type-p
+system:flatten
system:float-denormalized-p
system:float-infinity-p
system:float-nan-p
@@ -2631,9 +2636,11 @@ system:internal-debug
system:invoke-debugger-report-condition
system:istep
system:java-long-type-p
+system:java.class.path
system:keyword-supplied-p
system:keywordify
system:known-type-p
+system:lambda-list-broken-key-list-error
system:lambda-name
system:last-cons-of
system:layout-class
@@ -2954,6 +2961,7 @@ system:svset
system:swap-slots
system:symbol-macro-p
system:symbolicate
+system:system-artifacts-are-jars-p
system:system-jar-p
system:system-stream-p
system:to-file
Index: patches/patch-build_xml
===================================================================
RCS file: patches/patch-build_xml
diff -N patches/patch-build_xml
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-build_xml 29 Nov 2019 07:53:37 -0000
@@ -0,0 +1,22 @@
+$OpenBSD$
+
+allows skipping junit fetch during test phase.
+
+Index: build.xml
+--- build.xml.orig
++++ build.xml
+@@ -1014,11 +1014,9 @@ ${basedir}/../cl-bench
+ <get
+ src="http://cloud.github.com/downloads/KentBeck/junit/junit-4.8.1.jar"
+ usetimestamp="true"
+- dest="${junit.path}"/>
+- <get
+- src="${maven.dist.uri}"
+- usetimestamp="true"
+- dest="${maven.local.path}"/>
++ dest="${junit.path}"
++ skipexisting="true">
++ </get>
+ </target>
+
+ <target name="abcl.ext.maven" depends="abcl.ext">
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/lang/abcl/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 PLIST
--- pkg/PLIST 31 Aug 2017 06:32:13 -0000 1.4
+++ pkg/PLIST 29 Nov 2019 07:53:37 -0000
@@ -476,3 +476,4 @@ abcl/src/org/armedbear/lisp/with-standar
abcl/src/org/armedbear/lisp/write-sequence.lisp
abcl/src/org/armedbear/lisp/zip.java
bin/abcl
+share/doc/pkg-readmes/${PKGSTEM}
Index: pkg/README
===================================================================
RCS file: pkg/README
diff -N pkg/README
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/README 29 Nov 2019 07:53:37 -0000
@@ -0,0 +1,2 @@
+In order to use CFFI to access foreign libraries the jna package needs
+to be installed.
Subscribe to:
Posts (Atom)