From 7971cb0aa3e517a53f0ce6d3ee9bc3179041ccb8 Mon Sep 17 00:00:00 2001 From: John Klug Date: Wed, 25 May 2022 17:12:18 -0500 Subject: mLinux 6 --- .gitignore | 7 + .gitmodules | 57 + .templateconf | 2 + LICENSE | 27 + README | 121 ++ bitbake | 1 + conf/.gitignore | 2 + conf/bblayers.conf.mlinux | 50 + conf/bblayers.conf.sample | 22 + conf/local.conf.sample | 51 + install-deps/install-centos-rhel-deps.sh | 4 + install-deps/install-debian-ubuntu-deps.sh | 4 + install-deps/install-fedora-deps.sh | 5 + install-deps/install-opensuse-deps.sh | 4 + layers/meta-java | 1 + layers/meta-mlinux | 1 + layers/meta-mlinux-atmel | 1 + layers/meta-mono | 1 + layers/meta-multitech | 1 + layers/meta-multitech-atmel | 1 + layers/meta-nodejs | 1 + layers/meta-openembedded | 1 + layers/meta-python2 | 1 + layers/meta-security | 1 + layers/meta-swupdate | 1 + layers/meta-virtualization | 1 + layers/openembedded-core | 1 + oe-init-build-env | 77 + oe-init-build-env-memres | 94 + patches/bitbake_checksumwarningsuppress.patch | 18 + patches/dont_use_network_on_unpack_of_tag.patch | 95 + patches/kernel-revision-ext-mod.patch | 25 + patches/meta-openembedded-github-https.patch | 171 ++ patches/no_net_check.patch | 12 + patches/openembedded-core-github-https.patch | 14 + .../rename-mtr-conflicts-with-mtr-product.patch | 58 + scripts/README | 1 + scripts/bitbake-prserv-tool | 112 ++ scripts/bitbake-whatchanged | 339 ++++ scripts/buildhistory-collect-srcrevs | 117 ++ scripts/buildhistory-diff | 100 + scripts/cleanup-workdir | 198 ++ scripts/combo-layer | 924 ++++++++++ scripts/combo-layer-hook-default.sh | 20 + scripts/combo-layer.conf.example | 93 + scripts/contrib/bb-perf/bb-matrix-plot.sh | 137 ++ scripts/contrib/bb-perf/bb-matrix.sh | 79 + scripts/contrib/bb-perf/buildstats.sh | 90 + scripts/contrib/bbvars.py | 186 ++ scripts/contrib/build-perf-test.sh | 400 ++++ scripts/contrib/ddimage | 104 ++ scripts/contrib/devtool-stress.py | 242 +++ scripts/contrib/dialog-power-control | 53 + scripts/contrib/documentation-audit.sh | 94 + scripts/contrib/graph-tool | 92 + scripts/contrib/list-packageconfig-flags.py | 179 ++ scripts/contrib/mkefidisk.sh | 459 +++++ scripts/contrib/python/generate-manifest-2.7.py | 397 ++++ scripts/contrib/python/generate-manifest-3.5.py | 396 ++++ scripts/contrib/serdevtry | 60 + scripts/contrib/test_build_time.sh | 237 +++ scripts/contrib/test_build_time_worker.sh | 37 + scripts/contrib/verify-homepage.py | 62 + scripts/cp-noerror | 52 + scripts/create-pull-request | 276 +++ scripts/crosstap | 148 ++ scripts/devtool | 347 ++++ scripts/gen-lockedsig-cache | 57 + scripts/gen-site-config | 53 + scripts/git-hooks/post-checkout | 3 + scripts/git-hooks/post-merge | 3 + scripts/git-hooks/pre-commit | 23 + scripts/git-hooks/pre-push | 23 + scripts/lib/argparse_oe.py | 129 ++ scripts/lib/bsp/__init__.py | 22 + scripts/lib/bsp/engine.py | 1947 ++++++++++++++++++++ scripts/lib/bsp/help.py | 1046 +++++++++++ scripts/lib/bsp/kernel.py | 1072 +++++++++++ .../lib/bsp/substrate/target/arch/arm/.gitignore | 0 .../target/arch/arm/conf/machine/machine.conf | 102 + .../xserver-xf86-config/machine.noinstall | 1 + .../xserver-xf86-config/machine/xorg.conf | 34 + .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 2 + .../arch/arm/recipes-kernel/linux/files.noinstall | 1 + .../linux/files/machine-non_hardware.cfg | 31 + .../linux/files/machine-preempt-rt.scc | 15 + .../linux/files/machine-standard.scc | 15 + .../recipes-kernel/linux/files/machine-tiny.scc | 11 + .../linux/files/machine-user-config.cfg | 1 + .../linux/files/machine-user-features.scc | 1 + .../linux/files/machine-user-patches.scc | 1 + .../arm/recipes-kernel/linux/files/machine.cfg | 321 ++++ .../arm/recipes-kernel/linux/files/machine.scc | 8 + .../arm/recipes-kernel/linux/kernel-list.noinstall | 5 + .../recipes-kernel/linux/linux-yocto-dev.bbappend | 25 + .../linux/linux-yocto-tiny_4.1.bbappend | 33 + .../linux/linux-yocto-tiny_4.4.bbappend | 33 + .../recipes-kernel/linux/linux-yocto_4.1.bbappend | 32 + .../recipes-kernel/linux/linux-yocto_4.4.bbappend | 32 + .../bsp/substrate/target/arch/common/COPYING.MIT | 17 + .../lib/bsp/substrate/target/arch/common/README | 118 ++ .../substrate/target/arch/common/README.sources | 17 + .../substrate/target/arch/common/binary/.gitignore | 0 .../substrate/target/arch/common/conf/layer.conf | 10 + .../formfactor/formfactor/machine.noinstall | 1 + .../formfactor/formfactor/machine/machconfig | 5 + .../recipes-bsp/formfactor/formfactor_0.0.bbappend | 2 + .../recipes-kernel/linux/kernel-list.noinstall | 26 + .../recipes-kernel/linux/linux-yocto-custom.bb | 57 + .../linux/linux-yocto-custom.noinstall | 1 + .../linux/linux-yocto-custom/defconfig | 5 + .../linux-yocto-custom/machine-user-config.cfg | 9 + .../linux-yocto-custom/machine-user-patches.scc | 9 + .../linux/linux-yocto-custom/machine.cfg | 4 + .../linux/linux-yocto-custom/machine.scc | 18 + .../target/arch/i386/conf/machine/machine.conf | 77 + .../xserver-xf86-config/machine.noinstall | 1 + .../xserver-xf86-config/machine/xorg.conf | 1 + .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 2 + .../arch/i386/recipes-kernel/linux/files.noinstall | 1 + .../linux/files/machine-preempt-rt.scc | 17 + .../linux/files/machine-standard.scc | 17 + .../recipes-kernel/linux/files/machine-tiny.scc | 11 + .../linux/files/machine-user-config.cfg | 1 + .../linux/files/machine-user-features.scc | 1 + .../linux/files/machine-user-patches.scc | 1 + .../i386/recipes-kernel/linux/files/machine.cfg | 55 + .../i386/recipes-kernel/linux/files/machine.scc | 21 + .../recipes-kernel/linux/kernel-list.noinstall | 5 + .../recipes-kernel/linux/linux-yocto-dev.bbappend | 25 + .../linux/linux-yocto-tiny_4.1.bbappend | 33 + .../linux/linux-yocto-tiny_4.4.bbappend | 33 + .../recipes-kernel/linux/linux-yocto_4.1.bbappend | 32 + .../recipes-kernel/linux/linux-yocto_4.4.bbappend | 32 + .../bsp/substrate/target/arch/layer/COPYING.MIT | 17 + scripts/lib/bsp/substrate/target/arch/layer/README | 64 + .../substrate/target/arch/layer/conf/layer.conf | 10 + .../target/arch/layer/layer-questions.noinstall | 14 + .../arch/layer/recipes-example-bbappend.noinstall | 1 + .../example-bbappend-version.bbappend | 9 + .../example-bbappend-version.noinstall | 1 + .../example-bbappend-version/example.patch | 12 + .../target/arch/layer/recipes-example.noinstall | 1 + .../recipes-example/example/example-recipe-0.1.bb | 23 + .../example/example-recipe-0.1.noinstall | 1 + .../example/example-recipe-0.1/example.patch | 12 + .../example/example-recipe-0.1/helloworld.c | 8 + .../lib/bsp/substrate/target/arch/mips/.gitignore | 0 .../target/arch/mips/conf/machine/machine.conf | 39 + .../arch/mips/recipes-kernel/linux/files.noinstall | 1 + .../linux/files/machine-preempt-rt.scc | 11 + .../linux/files/machine-standard.scc | 11 + .../recipes-kernel/linux/files/machine-tiny.scc | 11 + .../linux/files/machine-user-config.cfg | 1 + .../linux/files/machine-user-features.scc | 1 + .../linux/files/machine-user-patches.scc | 1 + .../mips/recipes-kernel/linux/files/machine.cfg | 2 + .../mips/recipes-kernel/linux/files/machine.scc | 8 + .../recipes-kernel/linux/kernel-list.noinstall | 5 + .../recipes-kernel/linux/linux-yocto-dev.bbappend | 25 + .../linux/linux-yocto-tiny_4.1.bbappend | 33 + .../linux/linux-yocto-tiny_4.4.bbappend | 33 + .../recipes-kernel/linux/linux-yocto_4.1.bbappend | 32 + .../recipes-kernel/linux/linux-yocto_4.4.bbappend | 32 + .../bsp/substrate/target/arch/mips64/.gitignore | 0 .../target/arch/mips64/conf/machine/machine.conf | 39 + .../mips64/recipes-kernel/linux/files.noinstall | 1 + .../linux/files/machine-preempt-rt.scc | 11 + .../linux/files/machine-standard.scc | 11 + .../recipes-kernel/linux/files/machine-tiny.scc | 11 + .../linux/files/machine-user-config.cfg | 1 + .../linux/files/machine-user-features.scc | 1 + .../linux/files/machine-user-patches.scc | 1 + .../mips64/recipes-kernel/linux/files/machine.cfg | 66 + .../mips64/recipes-kernel/linux/files/machine.scc | 8 + .../recipes-kernel/linux/kernel-list.noinstall | 5 + .../recipes-kernel/linux/linux-yocto-dev.bbappend | 25 + .../linux/linux-yocto-tiny_4.1.bbappend | 33 + .../linux/linux-yocto-tiny_4.4.bbappend | 33 + .../recipes-kernel/linux/linux-yocto_4.1.bbappend | 32 + .../recipes-kernel/linux/linux-yocto_4.4.bbappend | 32 + .../bsp/substrate/target/arch/powerpc/.gitignore | 0 .../target/arch/powerpc/conf/machine/machine.conf | 87 + .../powerpc/recipes-kernel/linux/files.noinstall | 1 + .../linux/files/machine-preempt-rt.scc | 11 + .../linux/files/machine-standard.scc | 11 + .../recipes-kernel/linux/files/machine-tiny.scc | 11 + .../linux/files/machine-user-config.cfg | 1 + .../linux/files/machine-user-features.scc | 1 + .../linux/files/machine-user-patches.scc | 1 + .../powerpc/recipes-kernel/linux/files/machine.cfg | 164 ++ .../powerpc/recipes-kernel/linux/files/machine.scc | 10 + .../recipes-kernel/linux/kernel-list.noinstall | 5 + .../recipes-kernel/linux/linux-yocto-dev.bbappend | 25 + .../linux/linux-yocto-tiny_4.1.bbappend | 33 + .../linux/linux-yocto-tiny_4.4.bbappend | 33 + .../recipes-kernel/linux/linux-yocto_4.1.bbappend | 32 + .../recipes-kernel/linux/linux-yocto_4.4.bbappend | 32 + .../target/arch/qemu/conf/machine/machine.conf | 74 + .../init-ifupdown/init-ifupdown/machine.noinstall | 1 + .../init-ifupdown/init-ifupdown/machine/interfaces | 5 + .../init-ifupdown/init-ifupdown_1.0.bbappend | 1 + .../xserver-xf86-config/machine.noinstall | 1 + .../xserver-xf86-config/machine/xorg.conf | 77 + .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 1 + .../arch/qemu/recipes-kernel/linux/files.noinstall | 1 + .../linux/files/machine-preempt-rt.scc | 11 + .../linux/files/machine-standard.scc | 20 + .../recipes-kernel/linux/files/machine-tiny.scc | 11 + .../linux/files/machine-user-config.cfg | 1 + .../linux/files/machine-user-features.scc | 1 + .../linux/files/machine-user-patches.scc | 1 + .../qemu/recipes-kernel/linux/files/machine.cfg | 1 + .../qemu/recipes-kernel/linux/files/machine.scc | 5 + .../recipes-kernel/linux/kernel-list.noinstall | 5 + .../recipes-kernel/linux/linux-yocto-dev.bbappend | 55 + .../linux/linux-yocto-tiny_4.1.bbappend | 62 + .../linux/linux-yocto-tiny_4.4.bbappend | 62 + .../recipes-kernel/linux/linux-yocto_4.1.bbappend | 61 + .../recipes-kernel/linux/linux-yocto_4.4.bbappend | 61 + .../bsp/substrate/target/arch/x86_64/.gitignore | 0 .../target/arch/x86_64/conf/machine/machine.conf | 65 + .../xserver-xf86-config/machine.noinstall | 1 + .../xserver-xf86-config/machine/xorg.conf | 1 + .../xorg-xserver/xserver-xf86-config_0.1.bbappend | 2 + .../x86_64/recipes-kernel/linux/files.noinstall | 1 + .../linux/files/machine-preempt-rt.scc | 17 + .../linux/files/machine-standard.scc | 17 + .../recipes-kernel/linux/files/machine-tiny.scc | 11 + .../linux/files/machine-user-config.cfg | 1 + .../linux/files/machine-user-features.scc | 1 + .../linux/files/machine-user-patches.scc | 1 + .../x86_64/recipes-kernel/linux/files/machine.cfg | 48 + .../x86_64/recipes-kernel/linux/files/machine.scc | 14 + .../recipes-kernel/linux/kernel-list.noinstall | 5 + .../recipes-kernel/linux/linux-yocto-dev.bbappend | 25 + .../linux/linux-yocto-tiny_4.1.bbappend | 33 + .../linux/linux-yocto-tiny_4.4.bbappend | 33 + .../recipes-kernel/linux/linux-yocto_4.1.bbappend | 32 + .../recipes-kernel/linux/linux-yocto_4.4.bbappend | 32 + scripts/lib/bsp/tags.py | 49 + scripts/lib/devtool/__init__.py | 257 +++ scripts/lib/devtool/build.py | 86 + scripts/lib/devtool/build_image.py | 168 ++ scripts/lib/devtool/build_sdk.py | 65 + scripts/lib/devtool/deploy.py | 304 +++ scripts/lib/devtool/package.py | 62 + scripts/lib/devtool/runqemu.py | 65 + scripts/lib/devtool/sdk.py | 366 ++++ scripts/lib/devtool/search.py | 88 + scripts/lib/devtool/standard.py | 1452 +++++++++++++++ scripts/lib/devtool/upgrade.py | 382 ++++ scripts/lib/devtool/utilcmds.py | 233 +++ scripts/lib/recipetool/__init__.py | 0 scripts/lib/recipetool/append.py | 471 +++++ scripts/lib/recipetool/create.py | 963 ++++++++++ scripts/lib/recipetool/create_buildsys.py | 859 +++++++++ scripts/lib/recipetool/create_buildsys_python.py | 719 ++++++++ scripts/lib/recipetool/create_kernel.py | 99 + scripts/lib/recipetool/create_kmod.py | 152 ++ scripts/lib/recipetool/create_npm.py | 156 ++ scripts/lib/recipetool/newappend.py | 112 ++ scripts/lib/recipetool/setvar.py | 75 + scripts/lib/scriptpath.py | 42 + scripts/lib/scriptutils.py | 118 ++ scripts/lib/wic/__init__.py | 4 + scripts/lib/wic/__version__.py | 1 + scripts/lib/wic/canned-wks/common.wks.inc | 3 + .../canned-wks/directdisk-bootloader-config.cfg | 11 + .../canned-wks/directdisk-bootloader-config.wks | 8 + scripts/lib/wic/canned-wks/directdisk-gpt.wks | 10 + .../lib/wic/canned-wks/directdisk-multi-rootfs.wks | 23 + scripts/lib/wic/canned-wks/directdisk.wks | 8 + scripts/lib/wic/canned-wks/mkefidisk.wks | 11 + scripts/lib/wic/canned-wks/mkgummidisk.wks | 11 + scripts/lib/wic/canned-wks/mkhybridiso.wks | 7 + scripts/lib/wic/canned-wks/qemux86-directdisk.wks | 8 + scripts/lib/wic/canned-wks/sdimage-bootpart.wks | 6 + scripts/lib/wic/conf.py | 103 ++ scripts/lib/wic/config/wic.conf | 6 + scripts/lib/wic/creator.py | 124 ++ scripts/lib/wic/engine.py | 220 +++ scripts/lib/wic/help.py | 777 ++++++++ scripts/lib/wic/imager/__init__.py | 0 scripts/lib/wic/imager/baseimager.py | 192 ++ scripts/lib/wic/imager/direct.py | 380 ++++ scripts/lib/wic/ksparser.py | 169 ++ scripts/lib/wic/msger.py | 309 ++++ scripts/lib/wic/partition.py | 414 +++++ scripts/lib/wic/plugin.py | 150 ++ scripts/lib/wic/pluginbase.py | 108 ++ scripts/lib/wic/plugins/imager/direct_plugin.py | 102 + scripts/lib/wic/plugins/source/bootimg-efi.py | 237 +++ .../lib/wic/plugins/source/bootimg-partition.py | 140 ++ scripts/lib/wic/plugins/source/bootimg-pcbios.py | 210 +++ scripts/lib/wic/plugins/source/fsimage.py | 73 + .../lib/wic/plugins/source/isoimage-isohybrid.py | 550 ++++++ scripts/lib/wic/plugins/source/rawcopy.py | 88 + scripts/lib/wic/plugins/source/rootfs.py | 83 + .../lib/wic/plugins/source/rootfs_pcbios_ext.py | 177 ++ scripts/lib/wic/test | 1 + scripts/lib/wic/utils/__init__.py | 0 scripts/lib/wic/utils/errors.py | 29 + scripts/lib/wic/utils/fs_related.py | 84 + scripts/lib/wic/utils/misc.py | 95 + scripts/lib/wic/utils/oe/__init__.py | 22 + scripts/lib/wic/utils/oe/misc.py | 250 +++ scripts/lib/wic/utils/partitionedfs.py | 360 ++++ scripts/lib/wic/utils/runner.py | 110 ++ scripts/lib/wic/utils/syslinux.py | 58 + scripts/lnr | 21 + scripts/multilib_header_wrapper.h | 55 + scripts/native-intercept/chown | 2 + scripts/oe-buildenv-internal | 121 ++ scripts/oe-find-native-sysroot | 81 + scripts/oe-git-proxy | 159 ++ scripts/oe-pkgdata-util | 525 ++++++ scripts/oe-publish-sdk | 155 ++ scripts/oe-selftest | 636 +++++++ scripts/oe-setup-builddir | 128 ++ scripts/oe-setup-rpmrepo | 97 + scripts/oe-trim-schemas | 49 + scripts/oepydevshell-internal.py | 92 + scripts/opkg-query-helper.py | 85 + scripts/postinst-intercepts/postinst_intercept | 56 + scripts/postinst-intercepts/update_font_cache | 7 + .../postinst-intercepts/update_gio_module_cache | 7 + scripts/postinst-intercepts/update_icon_cache | 13 + scripts/postinst-intercepts/update_pixbuf_cache | 11 + scripts/pybootchartgui/AUTHORS | 11 + scripts/pybootchartgui/COPYING | 340 ++++ scripts/pybootchartgui/MAINTAINERS | 3 + scripts/pybootchartgui/NEWS | 204 ++ scripts/pybootchartgui/README.pybootchart | 37 + scripts/pybootchartgui/pybootchartgui.py | 23 + scripts/pybootchartgui/pybootchartgui/__init__.py | 0 scripts/pybootchartgui/pybootchartgui/batch.py | 46 + scripts/pybootchartgui/pybootchartgui/draw.py | 894 +++++++++ scripts/pybootchartgui/pybootchartgui/gui.py | 350 ++++ scripts/pybootchartgui/pybootchartgui/main.py | 1 + scripts/pybootchartgui/pybootchartgui/main.py.in | 187 ++ scripts/pybootchartgui/pybootchartgui/parsing.py | 740 ++++++++ .../pybootchartgui/pybootchartgui/process_tree.py | 292 +++ scripts/pybootchartgui/pybootchartgui/samples.py | 151 ++ .../pybootchartgui/tests/parser_test.py | 105 ++ .../pybootchartgui/tests/process_tree_test.py | 92 + scripts/pythondeps | 250 +++ scripts/recipetool | 121 ++ scripts/relocate_sdk.py | 264 +++ scripts/rootfs_rpm-extract-postinst.awk | 11 + scripts/rpm2cpio.sh | 53 + scripts/runqemu | 546 ++++++ scripts/runqemu-addptable2image | 51 + scripts/runqemu-export-rootfs | 163 ++ scripts/runqemu-extract-sdk | 104 ++ scripts/runqemu-gen-tapdevs | 100 + scripts/runqemu-ifdown | 66 + scripts/runqemu-ifup | 121 ++ scripts/runqemu-internal | 717 +++++++ scripts/runqemu.README | 42 + scripts/send-error-report | 200 ++ scripts/send-pull-request | 179 ++ scripts/sstate-cache-management.sh | 469 +++++ scripts/sstate-diff-machines.sh | 172 ++ scripts/sstate-sysroot-cruft.sh | 185 ++ scripts/swabber-strace-attach | 31 + scripts/sysroot-relativelinks.py | 31 + scripts/test-dependencies.sh | 286 +++ scripts/test-reexec | 123 ++ scripts/test-remote-image | 361 ++++ scripts/tiny/dirsize.py | 93 + scripts/tiny/ksize.py | 165 ++ scripts/wic | 323 ++++ scripts/wipe-sysroot | 54 + scripts/yocto-bsp | 156 ++ scripts/yocto-kernel | 399 ++++ scripts/yocto-layer | 151 ++ setup.sh | 111 ++ 378 files changed, 39706 insertions(+) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 .templateconf create mode 100644 LICENSE create mode 100644 README create mode 160000 bitbake create mode 100644 conf/.gitignore create mode 100644 conf/bblayers.conf.mlinux create mode 100644 conf/bblayers.conf.sample create mode 100644 conf/local.conf.sample create mode 100755 install-deps/install-centos-rhel-deps.sh create mode 100755 install-deps/install-debian-ubuntu-deps.sh create mode 100755 install-deps/install-fedora-deps.sh create mode 100755 install-deps/install-opensuse-deps.sh create mode 160000 layers/meta-java create mode 160000 layers/meta-mlinux create mode 160000 layers/meta-mlinux-atmel create mode 160000 layers/meta-mono create mode 160000 layers/meta-multitech create mode 160000 layers/meta-multitech-atmel create mode 160000 layers/meta-nodejs create mode 160000 layers/meta-openembedded create mode 160000 layers/meta-python2 create mode 160000 layers/meta-security create mode 160000 layers/meta-swupdate create mode 160000 layers/meta-virtualization create mode 160000 layers/openembedded-core create mode 100755 oe-init-build-env create mode 100755 oe-init-build-env-memres create mode 100644 patches/bitbake_checksumwarningsuppress.patch create mode 100644 patches/dont_use_network_on_unpack_of_tag.patch create mode 100644 patches/kernel-revision-ext-mod.patch create mode 100644 patches/meta-openembedded-github-https.patch create mode 100644 patches/no_net_check.patch create mode 100644 patches/openembedded-core-github-https.patch create mode 100644 patches/rename-mtr-conflicts-with-mtr-product.patch create mode 100644 scripts/README create mode 100755 scripts/bitbake-prserv-tool create mode 100755 scripts/bitbake-whatchanged create mode 100755 scripts/buildhistory-collect-srcrevs create mode 100755 scripts/buildhistory-diff create mode 100755 scripts/cleanup-workdir create mode 100755 scripts/combo-layer create mode 100755 scripts/combo-layer-hook-default.sh create mode 100644 scripts/combo-layer.conf.example create mode 100755 scripts/contrib/bb-perf/bb-matrix-plot.sh create mode 100755 scripts/contrib/bb-perf/bb-matrix.sh create mode 100755 scripts/contrib/bb-perf/buildstats.sh create mode 100755 scripts/contrib/bbvars.py create mode 100755 scripts/contrib/build-perf-test.sh create mode 100755 scripts/contrib/ddimage create mode 100755 scripts/contrib/devtool-stress.py create mode 100755 scripts/contrib/dialog-power-control create mode 100755 scripts/contrib/documentation-audit.sh create mode 100755 scripts/contrib/graph-tool create mode 100755 scripts/contrib/list-packageconfig-flags.py create mode 100755 scripts/contrib/mkefidisk.sh create mode 100755 scripts/contrib/python/generate-manifest-2.7.py create mode 100755 scripts/contrib/python/generate-manifest-3.5.py create mode 100755 scripts/contrib/serdevtry create mode 100755 scripts/contrib/test_build_time.sh create mode 100755 scripts/contrib/test_build_time_worker.sh create mode 100755 scripts/contrib/verify-homepage.py create mode 100755 scripts/cp-noerror create mode 100755 scripts/create-pull-request create mode 100755 scripts/crosstap create mode 100755 scripts/devtool create mode 100755 scripts/gen-lockedsig-cache create mode 100755 scripts/gen-site-config create mode 100755 scripts/git-hooks/post-checkout create mode 100755 scripts/git-hooks/post-merge create mode 100755 scripts/git-hooks/pre-commit create mode 100755 scripts/git-hooks/pre-push create mode 100644 scripts/lib/argparse_oe.py create mode 100644 scripts/lib/bsp/__init__.py create mode 100644 scripts/lib/bsp/engine.py create mode 100644 scripts/lib/bsp/help.py create mode 100644 scripts/lib/bsp/kernel.py create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/.gitignore create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/conf/machine/machine.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-non_hardware.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-preempt-rt.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-standard.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-tiny.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-config.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-features.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine-user-patches.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/files/machine.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/kernel-list.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-dev.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/arm/recipes-kernel/linux/linux-yocto_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/common/COPYING.MIT create mode 100644 scripts/lib/bsp/substrate/target/arch/common/README create mode 100644 scripts/lib/bsp/substrate/target/arch/common/README.sources create mode 100644 scripts/lib/bsp/substrate/target/arch/common/binary/.gitignore create mode 100644 scripts/lib/bsp/substrate/target/arch/common/conf/layer.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor/machine.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor/machine/machconfig create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-bsp/formfactor/formfactor_0.0.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/kernel-list.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom.bb create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/defconfig create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-config.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine-user-patches.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/common/recipes-kernel/linux/linux-yocto-custom/machine.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/conf/machine/machine.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-preempt-rt.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-standard.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-tiny.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-user-config.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-user-features.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine-user-patches.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/files/machine.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/kernel-list.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-dev.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/COPYING.MIT create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/README create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/conf/layer.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/layer-questions.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/recipes-example-bbappend/example-bbappend/example-bbappend-version/example.patch create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/recipes-example.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.bb create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1/example.patch create mode 100644 scripts/lib/bsp/substrate/target/arch/layer/recipes-example/example/example-recipe-0.1/helloworld.c create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/.gitignore create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/conf/machine/machine.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-preempt-rt.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-standard.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-tiny.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-config.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-features.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine-user-patches.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/files/machine.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/kernel-list.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-dev.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/mips/recipes-kernel/linux/linux-yocto_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/.gitignore create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/conf/machine/machine.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-preempt-rt.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-standard.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-tiny.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-config.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-features.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine-user-patches.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/files/machine.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/kernel-list.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-dev.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/mips64/recipes-kernel/linux/linux-yocto_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/.gitignore create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/conf/machine/machine.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-preempt-rt.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-standard.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-tiny.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-config.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-features.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine-user-patches.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/files/machine.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/kernel-list.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-dev.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/powerpc/recipes-kernel/linux/linux-yocto_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/conf/machine/machine.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown/machine.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown/machine/interfaces create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-core/init-ifupdown/init-ifupdown_1.0.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-preempt-rt.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-standard.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-tiny.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-config.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-features.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine-user-patches.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/files/machine.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/kernel-list.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/.gitignore create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/conf/machine/machine.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config/machine.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config/machine/xorg.conf create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-preempt-rt.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-standard.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-tiny.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-user-config.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-user-features.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine-user-patches.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine.cfg create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/files/machine.scc create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-dev.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto-tiny_4.4.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend create mode 100644 scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.4.bbappend create mode 100644 scripts/lib/bsp/tags.py create mode 100644 scripts/lib/devtool/__init__.py create mode 100644 scripts/lib/devtool/build.py create mode 100644 scripts/lib/devtool/build_image.py create mode 100644 scripts/lib/devtool/build_sdk.py create mode 100644 scripts/lib/devtool/deploy.py create mode 100644 scripts/lib/devtool/package.py create mode 100644 scripts/lib/devtool/runqemu.py create mode 100644 scripts/lib/devtool/sdk.py create mode 100644 scripts/lib/devtool/search.py create mode 100644 scripts/lib/devtool/standard.py create mode 100644 scripts/lib/devtool/upgrade.py create mode 100644 scripts/lib/devtool/utilcmds.py create mode 100644 scripts/lib/recipetool/__init__.py create mode 100644 scripts/lib/recipetool/append.py create mode 100644 scripts/lib/recipetool/create.py create mode 100644 scripts/lib/recipetool/create_buildsys.py create mode 100644 scripts/lib/recipetool/create_buildsys_python.py create mode 100644 scripts/lib/recipetool/create_kernel.py create mode 100644 scripts/lib/recipetool/create_kmod.py create mode 100644 scripts/lib/recipetool/create_npm.py create mode 100644 scripts/lib/recipetool/newappend.py create mode 100644 scripts/lib/recipetool/setvar.py create mode 100644 scripts/lib/scriptpath.py create mode 100644 scripts/lib/scriptutils.py create mode 100644 scripts/lib/wic/__init__.py create mode 100644 scripts/lib/wic/__version__.py create mode 100644 scripts/lib/wic/canned-wks/common.wks.inc create mode 100644 scripts/lib/wic/canned-wks/directdisk-bootloader-config.cfg create mode 100644 scripts/lib/wic/canned-wks/directdisk-bootloader-config.wks create mode 100644 scripts/lib/wic/canned-wks/directdisk-gpt.wks create mode 100644 scripts/lib/wic/canned-wks/directdisk-multi-rootfs.wks create mode 100644 scripts/lib/wic/canned-wks/directdisk.wks create mode 100644 scripts/lib/wic/canned-wks/mkefidisk.wks create mode 100644 scripts/lib/wic/canned-wks/mkgummidisk.wks create mode 100644 scripts/lib/wic/canned-wks/mkhybridiso.wks create mode 100644 scripts/lib/wic/canned-wks/qemux86-directdisk.wks create mode 100644 scripts/lib/wic/canned-wks/sdimage-bootpart.wks create mode 100644 scripts/lib/wic/conf.py create mode 100644 scripts/lib/wic/config/wic.conf create mode 100644 scripts/lib/wic/creator.py create mode 100644 scripts/lib/wic/engine.py create mode 100644 scripts/lib/wic/help.py create mode 100644 scripts/lib/wic/imager/__init__.py create mode 100644 scripts/lib/wic/imager/baseimager.py create mode 100644 scripts/lib/wic/imager/direct.py create mode 100644 scripts/lib/wic/ksparser.py create mode 100644 scripts/lib/wic/msger.py create mode 100644 scripts/lib/wic/partition.py create mode 100644 scripts/lib/wic/plugin.py create mode 100644 scripts/lib/wic/pluginbase.py create mode 100644 scripts/lib/wic/plugins/imager/direct_plugin.py create mode 100644 scripts/lib/wic/plugins/source/bootimg-efi.py create mode 100644 scripts/lib/wic/plugins/source/bootimg-partition.py create mode 100644 scripts/lib/wic/plugins/source/bootimg-pcbios.py create mode 100644 scripts/lib/wic/plugins/source/fsimage.py create mode 100644 scripts/lib/wic/plugins/source/isoimage-isohybrid.py create mode 100644 scripts/lib/wic/plugins/source/rawcopy.py create mode 100644 scripts/lib/wic/plugins/source/rootfs.py create mode 100644 scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py create mode 100644 scripts/lib/wic/test create mode 100644 scripts/lib/wic/utils/__init__.py create mode 100644 scripts/lib/wic/utils/errors.py create mode 100644 scripts/lib/wic/utils/fs_related.py create mode 100644 scripts/lib/wic/utils/misc.py create mode 100644 scripts/lib/wic/utils/oe/__init__.py create mode 100644 scripts/lib/wic/utils/oe/misc.py create mode 100644 scripts/lib/wic/utils/partitionedfs.py create mode 100644 scripts/lib/wic/utils/runner.py create mode 100644 scripts/lib/wic/utils/syslinux.py create mode 100755 scripts/lnr create mode 100644 scripts/multilib_header_wrapper.h create mode 100755 scripts/native-intercept/chown create mode 100755 scripts/oe-buildenv-internal create mode 100755 scripts/oe-find-native-sysroot create mode 100755 scripts/oe-git-proxy create mode 100755 scripts/oe-pkgdata-util create mode 100755 scripts/oe-publish-sdk create mode 100755 scripts/oe-selftest create mode 100755 scripts/oe-setup-builddir create mode 100755 scripts/oe-setup-rpmrepo create mode 100755 scripts/oe-trim-schemas create mode 100755 scripts/oepydevshell-internal.py create mode 100755 scripts/opkg-query-helper.py create mode 100755 scripts/postinst-intercepts/postinst_intercept create mode 100644 scripts/postinst-intercepts/update_font_cache create mode 100644 scripts/postinst-intercepts/update_gio_module_cache create mode 100644 scripts/postinst-intercepts/update_icon_cache create mode 100644 scripts/postinst-intercepts/update_pixbuf_cache create mode 100644 scripts/pybootchartgui/AUTHORS create mode 100644 scripts/pybootchartgui/COPYING create mode 100644 scripts/pybootchartgui/MAINTAINERS create mode 100644 scripts/pybootchartgui/NEWS create mode 100644 scripts/pybootchartgui/README.pybootchart create mode 100755 scripts/pybootchartgui/pybootchartgui.py create mode 100644 scripts/pybootchartgui/pybootchartgui/__init__.py create mode 100644 scripts/pybootchartgui/pybootchartgui/batch.py create mode 100644 scripts/pybootchartgui/pybootchartgui/draw.py create mode 100644 scripts/pybootchartgui/pybootchartgui/gui.py create mode 120000 scripts/pybootchartgui/pybootchartgui/main.py create mode 100644 scripts/pybootchartgui/pybootchartgui/main.py.in create mode 100644 scripts/pybootchartgui/pybootchartgui/parsing.py create mode 100644 scripts/pybootchartgui/pybootchartgui/process_tree.py create mode 100644 scripts/pybootchartgui/pybootchartgui/samples.py create mode 100644 scripts/pybootchartgui/pybootchartgui/tests/parser_test.py create mode 100644 scripts/pybootchartgui/pybootchartgui/tests/process_tree_test.py create mode 100755 scripts/pythondeps create mode 100755 scripts/recipetool create mode 100755 scripts/relocate_sdk.py create mode 100644 scripts/rootfs_rpm-extract-postinst.awk create mode 100755 scripts/rpm2cpio.sh create mode 100755 scripts/runqemu create mode 100755 scripts/runqemu-addptable2image create mode 100755 scripts/runqemu-export-rootfs create mode 100755 scripts/runqemu-extract-sdk create mode 100755 scripts/runqemu-gen-tapdevs create mode 100755 scripts/runqemu-ifdown create mode 100755 scripts/runqemu-ifup create mode 100755 scripts/runqemu-internal create mode 100644 scripts/runqemu.README create mode 100755 scripts/send-error-report create mode 100755 scripts/send-pull-request create mode 100755 scripts/sstate-cache-management.sh create mode 100755 scripts/sstate-diff-machines.sh create mode 100755 scripts/sstate-sysroot-cruft.sh create mode 100755 scripts/swabber-strace-attach create mode 100755 scripts/sysroot-relativelinks.py create mode 100755 scripts/test-dependencies.sh create mode 100755 scripts/test-reexec create mode 100755 scripts/test-remote-image create mode 100755 scripts/tiny/dirsize.py create mode 100755 scripts/tiny/ksize.py create mode 100755 scripts/wic create mode 100755 scripts/wipe-sysroot create mode 100755 scripts/yocto-bsp create mode 100755 scripts/yocto-kernel create mode 100755 scripts/yocto-layer create mode 100755 setup.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9c02cf7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +downloads +build +buildhistory +env-oe.sh +layers/user-layer +bitbake.lock +password.txt diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..734426c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,57 @@ +[submodule "bitbake"] + path = bitbake + url = git://git.openembedded.org/bitbake + branch = 1.46 +[submodule "layers/openembedded-core"] + path = layers/openembedded-core + url = git://git.openembedded.org/openembedded-core + branch = dunfell +[submodule "layers/meta-openembedded"] + path = layers/meta-openembedded + url = git://git.openembedded.org/meta-openembedded + branch = dunfell +[submodule "layers/meta-multitech"] + path = layers/meta-multitech + url = git@gitlab.multitech.net:mirrors/meta-multitech.git + branch = . +[submodule "layers/meta-multitech-atmel"] + path = layers/meta-multitech-atmel + url = git@gitlab.multitech.net:mirrors/meta-multitech-atmel.git + branch = . +[submodule "layers/meta-java"] + path = layers/meta-java + branch = dunfell + url = git://git.yoctoproject.org/meta-java +[submodule "layers/meta-nodejs"] + path = layers/meta-nodejs + url = https://github.com/imyller/meta-nodejs.git + branch = master +[submodule "layers/meta-python2"] + path = layers/meta-python2 + url = git://git.openembedded.org/meta-python2 + branch = dunfell +[submodule "layers/meta-mono"] + path = layers/meta-mono + url = git://git.yoctoproject.org/meta-mono + branch = dunfell +[submodule "layers/meta-mlinux"] + path = layers/meta-mlinux + url = git@gitlab.multitech.net:mirrors/meta-mlinux.git + branch = . +[submodule "layers/meta-mlinux-atmel"] + path = layers/meta-mlinux-atmel + url = git@gitlab.multitech.net:mirrors/meta-mlinux-atmel.git + branch = . +[submodule "layers/meta-virtualization"] + path = layers/meta-virtualization + url = git://git.yoctoproject.org/meta-virtualization + branch = dunfell +[submodule "layers/meta-swupdate"] + path = layers/meta-swupdate + url = https://github.com/sbabic/meta-swupdate + branch = dunfell +[submodule "layers/meta-security"] + path = layers/meta-security + url = https://git.yoctoproject.org/git/meta-security + branch = dunfell + diff --git a/.templateconf b/.templateconf new file mode 100644 index 0000000..2d51eee --- /dev/null +++ b/.templateconf @@ -0,0 +1,2 @@ +# Template settings +TEMPLATECONF=${TEMPLATECONF:-layers/meta-mlinux/contrib/} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7ed0be5 --- /dev/null +++ b/LICENSE @@ -0,0 +1,27 @@ +MultiTech mLinux is a software build system and custom Linux distribution. +It is your responsibility to review each license of the contained products +to understand what is, and what is not, allowed by each such license. + +The OpenEmbedded-Core common-licenses directory 'layers/openembedded-core/meta/files/common-licenses/' +contains licenses represented within this distribution. To the extent a license +is not contained in the 'common-licenses' directory, it is referenced in the +software and remains your responsibility to review. + +Different components of OpenEmbedded-Core are under different licenses (a mix +of MIT and GPLv2). Please see: + +layers/openembedded-core/meta/COPYING.GPLv2 (GPLv2) +layers/openembedded-core/meta/COPYING.MIT (MIT) + +For licensing information for other layers, see the files included with +that particular layer in the layers subdirectory. + +All MultiTech-copyrighted software contained in mLinux is covered by +GPL (GNU General Public License) version 2, unless provided under a different license. + +All bitbake metadata is MIT licensed unless otherwise stated. Source code +included in tree for individual recipes is under the LICENSE stated in +the associated recipe (.bb file) unless otherwise stated. + +License information for any other files is either explicitly stated +or defaults to GPL version 2. diff --git a/README b/README new file mode 100644 index 0000000..21b13b1 --- /dev/null +++ b/README @@ -0,0 +1,121 @@ +This is the branch for mLinux >= 6.0.0 + +mLinux - MultiTech Linux for MultiConnect Conduit gateways +============================================================ + +mLinux is a distribution provided by MultiTech tailored for the +MultiConnect Conduit products (MTCDT models). + +mLinux utilizes OpenEmbedded-Core, Bitbake, which are part of the Yocto Project. + +For more information about mLinux, see http://www.multitech.net + +For more information about the Yocto Project, see http://www.yoctoproject.org +For more information about OpenEmbedded, see http://www.openembedded.org + +This branch is based on Yocto Thud. Atmel devices use kernel Linux-AT91 4.9. + +It is no longer safe to assume MTCDT for the MACHINE type. All builds +now require the external variable MACHINE to be set. + +Building MTCDTIP2 requires: + +MACHINE=mtcap + + +------------------------- + BUILDING +------------------------- + +All version between 5.1 and 5.3.0a inclusive have +cellular issues with modems becoming disabled +due to COPS=2 set more or less permanently +on rare occassions. + +Version 5.3.0a through 5.3.0c have issues with git +trying to access unreachable repositories. The +recommended version after 5.0.x is 5.3.0d. + +Note that mLinux should *not* be built as root and you will need full write +permissions to the build directory structure. It is recommended to build +the software inside your $HOME dir as a normal user. + +1. Build from tarball + + tar xzf mLinux-3.0.0.tar.gz + cd mlinux-3.0.0 + # install needed dependencies, see scripts in install-deps + # Also switch to the build directory. + # example: sudo ./install-deps/install-debian-ubuntu-deps.sh + source oe-init-build-env + + # set your default machine type in conf/local.conf + # MACHINE="mtcdt" + + # build an image + bitbake mlinux-base-image + +2. Build from git repository + + # clone repo to a dir name of your choice + git clone git://git.multitech.net/mlinux.git mlinux-3.0.0 + cd mlinux-3.0.0 + + # checkout desired branch or tag + git checkout 3.0.0 + + # install needed dependencies, see scripts in install-deps + # example: sudo ./install-deps/install-debian-ubuntu-deps.sh + + # initialize git submodules and setup dir structure + ./setup.sh + # setup.sh generates a random mtadm password, and places the + # password in build/conf/local.conf and password.txt + # + # + # The specified password is ignored for commissioning images. + # + # To specify a password use an environmental variable, + # MTADM_PASSWORD + MTADM_PASSWORD="3g_t1zX0" ./setup.sh + # + # To change the password, remove MTADM_PASSWORD and + # MTADM_PASSWORD_HASH from conf/local.conf and re-run: + MTADM_PASSWORD="Y5bG3m_2" ./setup.sh + + # setup environment and switch to build directory + source oe-init-build-env + + # set your default machine type in conf/local.conf + # MACHINE="mtcdt" + + # build an image (current working directory is + # build) + bitbake mlinux-base-image + +------------------------- + IMAGES +------------------------- + +mlinux-base-image: Small image with essential packages -- good starting point for a custom image + +mlinux-commissioning-image: Large image loaded on units by default -- contains full language support (perl, python) +mlinux-mtcap-commissioning-image: MTCAP image + +------------------------- + PRE-BUILT IMAGES +------------------------- + +http://multitech.net/mlinux/images + +------------------------- + MORE INFO +------------------------- + +See the MultiTech Developer website (http://www.multitech.net) for full +installation and build instructions. In particular, see the "Introduction" and +"Getting Started" pages under the mLinux section. + +You can also join the available developer forums to post queries and receive +updates from MultiTech developers. + diff --git a/bitbake b/bitbake new file mode 160000 index 0000000..0e0af15 --- /dev/null +++ b/bitbake @@ -0,0 +1 @@ +Subproject commit 0e0af15b84e07e6763300dcd092b980086b9b9c4 diff --git a/conf/.gitignore b/conf/.gitignore new file mode 100644 index 0000000..143ff36 --- /dev/null +++ b/conf/.gitignore @@ -0,0 +1,2 @@ +local.conf +sanity_info diff --git a/conf/bblayers.conf.mlinux b/conf/bblayers.conf.mlinux new file mode 100644 index 0000000..fb68424 --- /dev/null +++ b/conf/bblayers.conf.mlinux @@ -0,0 +1,50 @@ +LCONF_VERSION = "6" +TOPDIR := "${@os.path.dirname(os.path.dirname(d.getVar('FILE', True)))}" +BBPATH = "__OEROOT__" +BBFILES ?= "" +MACHINE ?= "mtcdt" + +# MACHINE SPECIFIC LAYER CONFIGURATIONS +MTBSP_AT91_LIST = "['mtcdt', 'mtcap', 'mtr', 'mtrv1', 'mtre']" +MTBSP_NXP_LIST = "['mtcap3']" + +MTBSP = "${@'mtbsp-at91' if '${MACHINE}' in ${MTBSP_AT91_LIST} else \ + 'mtbsp-nxp' if '${MACHINE}' in ${MTBSP_NXP_LIST} else ''}" + +OVERRIDES .= ":${MTBSP}" + +# Atmel AT91 +BSPPATH_mtbsp-at91 = "" +BSPLAYER_mtbsp-at91= "__OEROOT__/layers/meta-multitech-atmel \ + __OEROOT__/layers/meta-mlinux-atmel" + +BSPPATH_mtbsp-nxp = "__OEROOT__/layers/meta-multitech-nxp/meta-freescale" +BSPLAYER_mtbsp-nxp= "__OEROOT__/layers/meta-multitech-nxp \ + __OEROOT__/layers/meta-multitech-nxp/meta-freescale \ + __OEROOT__/layers/meta-mlinux-nxp \ + __OEROOT__/layers/meta-security/meta-tpm" + +# Append the BSP configuration +BBPATH =. "${@'${BSPPATH_${MTBSP}}:' if '${BSPPATH_${MTBSP}}' else ''}" + +# No virtaulization and swupdate on at91 (mask bbappends and images) +BBMASK_mtbsp-at91 += "wl18xx-fw tpm2-tss-engine" + +BBLAYERS = " \ + __OEROOT__/layers/user-layer \ + ${BSPLAYER_${MTBSP}} \ + __OEROOT__/layers/meta-mlinux \ + __OEROOT__/layers/meta-multitech \ + __OEROOT__/layers/meta-mono \ + __OEROOT__/layers/meta-java \ + __OEROOT__/layers/meta-python2 \ + __OEROOT__/layers/meta-swupdate \ + __OEROOT__/layers/meta-nodejs \ + __OEROOT__/layers/meta-openembedded/meta-oe \ + __OEROOT__/layers/meta-openembedded/meta-python \ + __OEROOT__/layers/meta-openembedded/meta-networking \ + __OEROOT__/layers/meta-openembedded/meta-webserver \ + __OEROOT__/layers/meta-openembedded/meta-multimedia \ + __OEROOT__/layers/meta-openembedded/meta-filesystems \ + __OEROOT__/layers/openembedded-core/meta \ + " diff --git a/conf/bblayers.conf.sample b/conf/bblayers.conf.sample new file mode 100644 index 0000000..a8e65be --- /dev/null +++ b/conf/bblayers.conf.sample @@ -0,0 +1,22 @@ +LCONF_VERSION = "6" +TOPDIR := "${@os.path.dirname(os.path.dirname(d.getVar('FILE', True)))}" +BBPATH = "${TOPDIR}" +BBFILES ?= "" +BBLAYERS = " \ + ${TOPDIR}/layers/user-layer \ + ${TOPDIR}/layers/meta-mlinux \ + ${TOPDIR}/layers/meta-mlinux-atmel \ + ${TOPDIR}/layers/meta-multitech \ + ${TOPDIR}/layers/meta-multitech-atmel \ + ${TOPDIR}/layers/meta-mono \ + ${TOPDIR}/layers/meta-nodejs \ + ${TOPDIR}/layers/meta-java \ + ${TOPDIR}/layers/meta-openembedded/meta-oe \ + ${TOPDIR}/layers/meta-openembedded/meta-perl \ + ${TOPDIR}/layers/meta-openembedded/meta-networking \ + ${TOPDIR}/layers/meta-openembedded/meta-webserver \ + ${TOPDIR}/layers/meta-openembedded/meta-multimedia \ + ${TOPDIR}/layers/meta-openembedded/meta-filesystems \ + ${TOPDIR}/layers/meta-openembedded/toolchain-layer \ + ${TOPDIR}/layers/openembedded-core/meta \ + " diff --git a/conf/local.conf.sample b/conf/local.conf.sample new file mode 100644 index 0000000..f798315 --- /dev/null +++ b/conf/local.conf.sample @@ -0,0 +1,51 @@ +# CONF_VERSION is increased each time build/conf/ changes incompatibly +CONF_VERSION = "2" + +# Use MultiTech mLinux distribution +DISTRO = "mlinux" +MACHINE ?= "mtcdt" + +# Where to store downloaded sources +DL_DIR = "${TOPDIR}/downloads" + +# Where to save shared state +SSTATE_DIR = "${TOPDIR}/build/sstate-cache" +# bitbake cache location +PERSISTENT_DIR = "${TOPDIR}/build/cache" +# build output +TMPDIR = "${TOPDIR}/build/tmp" + +# Which files do we want to parse: +BBFILES ?= "${TOPDIR}/layers/openembedded-core/meta/recipes-*/*/*.bb" + +# Go through the Firewall +#HTTP_PROXY = "http://:/" + +# Uncomment this to remove unpacked source and intermediate work +# after successfully building a package. +# Saves a LOT of disk s