Hello All,
i'm currently working on a freebsd-update-server.
I followed up the documentation freebsd-update-server.
So, i create media from one of my server with my custom kernel. everything went well, i put it on one of my web server.
I modified build.conf and create a specific directory for my custom kernel at ./freebsd-update-server/scripts/11.2-CUSTOM/amd64.
As describe in the documentation a create another build.conf inside this repository and put my properties.
After all of this, i ran the different scripts :
- sh scripts/make.sh
- sh scripts/init.sh amd64 11.2-CUSTOM
everything lookd good until it needs to build the kernel/world..
but during the run i got some errors and it sounds like nothing happen...
[...]
Did i miss something ? Or do i need more steps to be able to do this ? or that's work only with RELEASE version ? as my custom kernel is based on a STABLE...
BR,
N!
i'm currently working on a freebsd-update-server.
I followed up the documentation freebsd-update-server.
So, i create media from one of my server with my custom kernel. everything went well, i put it on one of my web server.
I modified build.conf and create a specific directory for my custom kernel at ./freebsd-update-server/scripts/11.2-CUSTOM/amd64.
As describe in the documentation a create another build.conf inside this repository and put my properties.
After all of this, i ran the different scripts :
- sh scripts/make.sh
- sh scripts/init.sh amd64 11.2-CUSTOM
everything lookd good until it needs to build the kernel/world..
but during the run i got some errors and it sounds like nothing happen...
Code:
Thu Sep 19 17:35:56 CEST 2019 Starting fetch for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:35:56 CEST 2019 Verifying dvd1 hash for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:35:59 CEST 2019 Extracting components for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:36:12 CEST 2019 Constructing world+src image for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:36:44 CEST 2019 Extracting world+src for FreeBSD/amd64 11.2-CUSTOM
ls: /root/freebsd-update-server/patches/11.2-CUSTOM: No such file or directory
sed: /root/freebsd-update-server/work/11.2-CUSTOM/amd64/world0/usr/src/sys/conf/newvers.sh: No such file or directory
sed: /root/freebsd-update-server/work/11.2-CUSTOM/amd64/world0/usr/src/sys/conf/newvers.sh: No such file or directory
Thu Sep 19 15:36:47 UTC 2019 Building world for FreeBSD/amd64 11.2-CUSTOM
jail: /usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin RELP=11.2-CUSTOM JFLAG=-j2 BRANCH_OVERRIDE= XZ_THREADS=16 TARGET=amd64 TARGET_ARCH=amd64 /bin/sh -e: failed
Thu Sep 19 17:36:47 CEST 2019 Moving components into staging area for FreeBSD/amd64 11.2-CUSTOM
cat: /R/ftp/base.txz: No such file or directory
cat: /R/ftp/kernel.txz: No such file or directory
Thu Sep 19 17:36:47 CEST 2019 Indexing release for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:37:28 CEST 2019 Indexing world0 for FreeBSD/amd64 11.2-CUSTOM
Files built but not released:
Files released but not built:
kernel|kernel|/boot
kernel|kernel|/boot/kernel
kernel|kernel|/boot/kernel/bridgestp.ko
kernel|kernel|/boot/kernel/cfiscsi.ko
kernel|kernel|/boot/kernel/dtmalloc.ko
kernel|kernel|/boot/kernel/dtnfscl.ko
kernel|kernel|/boot/kernel/dtrace.ko
kernel|kernel|/boot/kernel/dtrace_test.ko
kernel|kernel|/boot/kernel/dtraceall.ko
kernel|kernel|/boot/kernel/fasttrap.ko
kernel|kernel|/boot/kernel/fbt.ko
kernel|kernel|/boot/kernel/geom_multipath.ko
kernel|kernel|/boot/kernel/hwpmc.ko
kernel|kernel|/boot/kernel/if_bridge.ko
Code:
world|base|/var/tmp
world|base|/var/tmp/vi.recover
world|base|/var/unbound
world|base|/var/unbound/conf.d
world|base|/var/yp
world|base|/var/yp/Makefile
world|base|/var/yp/Makefile.dist
Files which differ by more than contents:
Files which differ between release and build:
Thu Sep 19 17:37:28 CEST 2019 Extracting world+src for FreeBSD/amd64 11.2-CUSTOM
ls: /root/freebsd-update-server/patches/11.2-CUSTOM: No such file or directory
sed: /root/freebsd-update-server/work/11.2-CUSTOM/amd64/world1/usr/src/sys/conf/newvers.sh: No such file or directory
sed: /root/freebsd-update-server/work/11.2-CUSTOM/amd64/world1/usr/src/sys/conf/newvers.sh: No such file or directory
Fri Oct 23 15:37:33 UTC 2020 Building world for FreeBSD/amd64 11.2-CUSTOM
jail: /usr/bin/env -i PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin RELP=11.2-CUSTOM JFLAG=-j2 BRANCH_OVERRIDE=FUTUREBUILD XZ_THREADS=16 TARGET=amd64 TARGET_ARCH=amd64 /bin/sh -e: failed
Fri Oct 23 17:37:33 CEST 2020 Moving components into staging area for FreeBSD/amd64 11.2-CUSTOM
cat: /R/ftp/base.txz: No such file or directory
cat: /R/ftp/kernel.txz: No such file or directory
Thu Sep 19 17:37:33 CEST 2019 Indexing world1 for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:37:33 CEST 2019 Locating build stamps for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:37:43 CEST 2019 Cleaning staging area for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:37:44 CEST 2019 Preparing to copy files into staging area for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:37:44 CEST 2019 Copying data files into staging area for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:40:10 CEST 2019 Copying metadata files into staging area for FreeBSD/amd64 11.2-CUSTOM
Thu Sep 19 17:40:10 CEST 2019 Constructing metadata index and tag for FreeBSD/amd64 11.2-CUSTOM
Files found which include build stamps:
Values of build stamps, excluding library archive headers:
FreeBSD/amd64 11.2-CUSTOM initialization build complete. Please
review the list of build stamps printed above to confirm that
they look sensible, then run
# sh -e approve.sh amd64 11.2-CUSTOM
to sign the release.
Did i miss something ? Or do i need more steps to be able to do this ? or that's work only with RELEASE version ? as my custom kernel is based on a STABLE...
BR,
N!