NanoBSD cust_pkgng problem....

mike tancsa mike at sentex.net
Thu Jun 20 18:44:24 UTC 2019


On 6/20/2019 2:16 PM, Karl Denninger wrote:
> I'm trying to rebuild 12-STABLE with current code with the following for
> the PCEngines systems.
>
>
> Failed to install the following 1 package(s):
> /_.p/isc-dhcp44-server-4.4.1_4.txz


Thats so strange. I saw that too.  I did change defaults.sh


 # Early customize commands.
 NANO_EARLY_CUSTOMIZE=""
@@ -776,6 +776,7 @@
        fi
 
        # Mount packages into chroot
+       mount -t devfs devfs ${NANO_WORLDDIR}/dev
        mkdir -p ${NANO_WORLDDIR}/_.p
        mount -t nullfs -o noatime -o ro ${NANO_PACKAGE_DIR}
${NANO_WORLDDIR}/_.p
 
@@ -802,7 +803,7 @@
        )
 
        CR0 "${PKGCMD} info"
-
+       umount ${NANO_WORLDDIR}/dev
        trap - 1 2 15 EXIT
        umount ${NANO_WORLDDIR}/_.p
        rm -rf ${NANO_WORLDDIR}/_.p


to get rid of the dev/null complaints.  I thought the pkg might be
borked somehow in the poudriere build, so I rebuilt it and then it all
worked. But I am not sure if that was just a fluke.  I havent seen the
issue since... But it was the same isc package that my build was borking
on as well.

    ---Mike



More information about the freebsd-embedded mailing list