Skip to content

Problem with setup an image on MAC USER: unbound variable #231

@EnvironCMO

Description

@EnvironCMO

Hello,

I am currently having big problems setting up an image under MAC. I have done the following steps:

  1. git clone https://github.com/guysoft/CustomPiOS.git
    Feedback:
    Clone to 'CustomPiOS'...
    remote: Enumerating objects: 5148, done.
    remote: Counting objects: 100% (1121/1121), done.
    remote: Compressing objects: 100% (404/404), done.
    remote: Total 5148 (delta 774), reused 862 (delta 685), pack-reused 4027 (from 1)
    Receive objects: 100% (5148/5148), 1.03 MiB | 12.80 MiB/s, done.
    Resolve differences: 100% (2773/2773), done.2nd command: ./src/make_custom_pi_os -g test
    Feedback:
    Settings:
    making dstro in test
    variant: raspios_lite_armhf
    sed: 1: “config”: command c expects \ followed by text

After that I wanted to switch to Docker

An alternative way I also tried:
create a docker-compose.yml file in the src directory

version: '3.6'
services:
custompios:
image: guysoft/custompios:devel
container_name: mydistro-builder
privileged: true
volumes:
- ./:/os_make
devices:
- /dev/loop-control
tty: true

-> docker-compose up -d

-> docker exec -it mydistro-builder CustomPiOS/make_custom_pi_os -g /os_make/ExampleDistro

Settings:
making dstro in /os_make/ExampleDistro
variant: raspios_lite_armhf
CustomPiOS/make_custom_pi_os: line 49: USER: unbound variable

Is this an error or is there a point by point guide to avoid running into this error

Translated with DeepL.com (free version)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions