Skip to content

armbian banana_pi_m1 #162

Closed
Closed

Description

@steviehs

I want to build images for the bananapi m1. After digging around and learning how to setup a variant, I am now struggling at a point, where CustomPiOS wants to set up wireless stuff:

cat: /etc/wpa_supplicant/wpa_supplicant.conf: No such file or directory and yes, there is a wpa_supplicant folder in the armbian but not that file.

So, before I assume wrong procedure (I'd like to provide a pr for that), should I:

a) make this cat more robust? -> check if the file is there before cat'ing?
b) add an additional distro "armbian" which checks for that action?
c) do something else?

Activity

  1. guysoft commented on Mar 18, 2022

    @guysoft
    Owner

    Do you have an example image I can have a look at?
    There is an armbian variant that might need updating.

  2. steviehs commented on Mar 18, 2022

    @steviehs
    ContributorAuthor
  3. guysoft commented on Mar 20, 2022

    @guysoft
    Owner

    Ok, fixed.
    The armbian variant was not well maintained since I have no armbian device to test with. And no one is testing and reporting for it.

    Place the image in a folder image-armbian similar to the image folder for default.

    You can now build with it using

    sudo docker exec -it exampleos-build build armbian
    

    Notes the armbian variant at the end.

    Note that I haven't tested any modules with it and some might need adaptation.
    You can test with

    if [ "${BASE_DISTRO}" == "armbian" ]; then
    fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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