Giter Club home page Giter Club logo

edge-software-provisioner's People

Contributors

bachaue1 avatar brod-intel avatar dvintel avatar inteltiger avatar uhofemeier avatar zhajianl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edge-software-provisioner's Issues

Is there a customisation hook?

I'd love to add a URL to a bash script that gets called at the end of the provisioning (of any Linux based profile).

I've not found mention of one, but I thought I'd check before i go deeply in the wrong direction :)

Ideally, this script would be generated by ESP based based on running an ESP side customisation hook

yes, I'm pondering how to make a pre-FDO magic deployment and onboarding network...

Wondering if there's a safe way to shutdown the ESP services?

Hi, Maintainers,

How can we shutdown ESP services safely after I finished the node provisioning?

There's no script to tear down the services.

I tried to run "docker-compose down", but after the service containers are down, I failed to delete the ESP folder and got the following "Device busy" issue:

rm: cannot remove 'esp/template/nginx/index.html': Device or resource busy
rm: cannot remove 'esp/data/srv/tftp': Device or resource busy
rm: cannot remove 'esp/data/usr/share/nginx/html/tftp': Device or resource busy

I have to manually "sudo umount" those locations, then I can clean up the folders.

Please help to check this issue and let me know if anything wrong.

Thanks!

Container "gitea" is not stopped by "docker-compose down"

As far as i have seen, the run.sh script starts all the containers listed in the docker-compose.yml file, except the gitea container, which is started by a subscript.
So when i want to stop or deactivate the ESP, i always have to stop the "gitea" container manually.

I would suggest that all running containers should be stopped by "docker-compose down".

sudo ./build.sh -k ubuntu fails with Error 404

While running the command on Ubuntu20.04 it fails. Seems like a bumpup is necessary as the files dont exist anymore

tail builder.log
Step 9/15 : RUN wget http://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-image-unsigned-${UBUNTU_RELEASE}_${KERNEL_VERSION}.deb && wget http://mirrors.edge.kb
---> Running in 0b428fd08d80
--2022-04-21 16:38:46-- http://mirrors.edge.kernel.org/ubuntu/pool/main/l/linux/linux-image-unsigned-5.8.0-56-generic_5.8.0-56.63_amd64.deb
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.101.1, 2604:1380:2001:3900::1
Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.101.1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-04-21 16:38:46 ERROR 404: Not Found.

makeusb.sh created image wipes and flashes /dev/sda .

If there is a feature to detect the hardware its booting from and flash the alternate hardware (sda/b or nvme ) it would be helpful.
In a scenario when the USB was used for the boot, it started wiping the USB device and flashing the device itself

documentation doesn't list what all the containers do

run.sh has docker-compose up -d core web certbot registry-mirror squid mirror smb

The Readme.md has:

  • dnsmasq (provides DHCP and TFTP services)
  • nginx
  • squid - optional, used for caching http requests
  • registry - optional, used for caching Docker images
  • Gitea - optional, used for mirroring git repositories

considering that core is both privileged, and uses all the host namespaces, this deserves more exposition.

Yocto Embedded Linux with ESP - Guide and Examples

Hi ESP Team,

I saw on the documentation page that an implementation with Yocto or a Yocto derivative would be possible.
In my case I would like to deploy with AGL (Automotive Grade Linux) on my development target.
I would like an example in this case or if you can create a page for this aspect.

Thanks.

Both Legacy Mode Boot / UEFI Mode Bios Mode can not pass the PXE boot

Hi, there
We try to build and run latest version of ESP.
When the target machine is configured as Legacy boot with PXE enabled, it report : NBP is too big to fit in free base memory.
When the target machine is configured as UEFI bios mode with PXE enabled, it report: nothing to boot no such file or directory (http //ipxe.org/xxxx)
So is there any pointer we can debug more ?
I think probably because the DNSMasq is not well configured, but we don't know how to proceed the next step.
The topology of the network is one router with DHCP enabled which can access external network, and 2 machines are connected to the router, 1 is ESP server and the other is the target machine.

What images need to be re-built when which parts of the `conf/config.yml` are modified?

I see mention of running build.sh -S if the profiles are changed, but would like to know what needs doing if other parts of the file are changed.

And similarly, assuming that my build system is separate from my run time system, what non-image things need to be transferred - there's a lot of run time volumes, but its not entirely clear if they're just cache / run time data.

build step and entrypoint variable not working correctly

Hi ESP Team,

I try to use this step: (8/9) Building custom files for ... under Ubuntu 20.04 profile, but not working.
I think is one issue with entrypoint variable in scripts/bulkfileutils.sh.
Because of this, the docker container is no longer turned on.

ESP: branch master.

// profile - cat conf/files.yml
---

build:
  # Identify the container to run the build process in
  - container: ubuntu:20.04
    entrypoint:
    # Interrupter to use for execution
    cmd: /usr/bin/bash -c
    # Script to run from the /build/ folder
    execute: start.sh

// esp - git diff scripts/bulkfileutils.sh
@@ -252,10 +252,10 @@ processBuilds() {
                 local container=${files_config_build__container[j]}
                 validateInput container "${container}" "'container' in files.yml of profile ${profileName} is not valid container name: ${container}"
             fi
-            if [ "${files_config_build__entrypoint[j]}" == '""' ]; then
+            if [ -z "${files_config_build__entrypoint[j]+x}" ]; then
                 local entrypoint=""
             else
-                local entrypoint="--entrypoint=\"${files_config_build__entrypoint[j]}\""
+                local entrypoint="${files_config_build__entrypoint[j]}"
             fi
             if [ -z "${files_config_build__cmd[j]+x}" ]; then
                 local cmd="sh -c"
@@ -301,4 +301,4 @@ processEmbeddeds() {
         printDatedMsg "  ${T_INFO_ICON} No files to embed into uOS"
         logMsg "No files to embed into uOS"
     fi
-}
\ No newline at end of file
+}

Clear Linux Desktop profile is not installed completely.

Hi ESP Team,

I use this profile for install Clear Linux OS.
But i view one issue under deployment.

Manifest.Mom.tar is not downloading in chroot.
I think this is cause not appear file /etc/resolv.conf in chroot.

swupd bundle-add desktop
swupd tool not working. MoM file is not downloading.

Profile:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.