代码之家  ›  专栏  ›  技术社区  ›  BillRizer Reneesh TK

如何生成。来自pfsense源代码的iso

  •  1
  • BillRizer Reneesh TK  · 技术社区  · 7 年前

    我正在用GIT的源代码尝试pfsense的自定义版本,但我遇到了一些问题。

    它似乎并没有造成这种情况 回购xxxx核心。sqlite公司 ,有人知道如何修复它吗?

    access repo file(/var/db/pkg/repo-4sense-core.sqlite) failed: No such file or directory
    

    终端:

    root@:/usr/local/pfsense # ./build.sh iso
    >>> Operation ./build.sh has started at Tue Dec 19 14:56:18 UTC 2017
    >>> Building image type(s): iso
    >>> Cleaning up previous build environment...Please wait!
    >>> Cleaning build directories: Done!
    >>> Cleaning previously built kernel stage area...Done!
    >>> Cleaning previously built images...Done!
    >>> Cleaning previous builder logs...Done!
    >>> Cleaning of builder environment has finished.
    >>> Obtaining FreeBSD sources (RELENG_2_4)...
    ====>> Removing local changes from git repo https://github.com/pfsense/freebsd-src.git (RELENG_2_4)
    ====>> Removing leftovers from git repo https://github.com/pfsense/freebsd-src.git (RELENG_2_4)
    ====>> Retrieving updates from git repo https://github.com/pfsense/freebsd-src.git (RELENG_2_4)
    ====>> Updating git repo https://github.com/pfsense/freebsd-src.git (RELENG_2_4)
    ====>> Rebasing git repo https://github.com/pfsense/freebsd-src.git (RELENG_2_4)
    >>> Last known commit jim-p - 9af697ce606ce583f406af6987b579a63b7be9a8
    Updating 4sense-core repository catalogue...
    pkg: Repository 4sense-core load error: access repo file(/var/db/pkg/repo-4sense-core.sqlite) failed: No such file or directory
    pkg: http://release-staging.netgate.com/ce/packages/4sense_v2_4_2_amd64-core/meta.txz: Operation timed out
    repository 4sense-core has no meta file, using default settings
    pkg: http://release-staging.netgate.com/ce/packages/4sense_v2_4_2_amd64-core/packagesite.txz: Operation timed out
    Unable to update repository 4sense-core
    Updating 4sense repository catalogue...
    pkg: Repository 4sense load error: access repo file(/var/db/pkg/repo-4sense.sqlite) failed: No such file or directory
    pkg: http://release-staging.netgate.com/ce/packages/4sense_v2_4_2_amd64-4sense_v2_4_2/meta.txz: Operation timed out
    repository 4sense has no meta file, using default settings
    pkg: http://release-staging.netgate.com/ce/packages/4sense_v2_4_2_amd64-4sense_v2_4_2/packagesite.txz: Operation timed out
    Unable to update repository 4sense
    Error updating repositories!
    >>> LOGFILE set to /usr/local/pfsense/logs/buildworld.amd64.
    >>> Tue Dec 19 15:02:36 UTC 2017 - Starting build world for amd64 architecture...
    ====>> ERROR: __MAKE_CONF is pointing to a nonexistent file /usr/local/pfsense/tmp/FreeBSD-src/release/conf/4sense_make.conf
    
    ####################################
    Something went wrong, check errors!
    ####################################
    
    NOTE: a lot of times you can run './build.sh --clean-builder' to resolve.
    
    Log saved on /usr/local/pfsense/logs/buildworld.amd64
    
    Terminated
    
    1 回复  |  直到 7 年前
        1
  •  2
  •   lura    5 年前

    这意味着您忘记重命名 .conf 中的文件 /release/conf/ ,在FreeBSD src中

    你应该看看 https://github.com/Augustin-FL/building-pfsense-iso-from-source#freebsd-source

    推荐文章