Add ansible package #51
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Sysdeploy/openwrt#51
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ansible isn't in the public openwrt packages. I can install it with pip, but it needs a lot of diskspace and these development packages:
gcc
python3-dev
python3-cffi
I think if you build it throught buildbot, the extra packages won't need to be installed in the image and everything will take less space.
EDIT The
git
package should also be included in case I doansible-pull
from a git URL.I'm bumping the filesystem size in #50 already, maybe I should change it for all packages now, I hope that's enough, even with that bump, during building / installing ansible I had to move some files to another drive.
Now, I'm not fully sure if to put it in all images, or only
waveshare
. I'm not sure because during upgrade the whole new image needs to be downloaded to RAM. On thedualeth
andsensing
devices I tend to have only 1GB of RAM. Based on/lib/upgrade/common.sh
and/lib/upgrade/platform.sh
, at least it doesn't look like it needs to store the uncompressed image (the combined command would look something likebusybox zcat openwrtblabla.gz|dd of=/dev/mmcblk_whatever
. I would say we first try to put it only intowaveshare
(these I use with 8GB RAM so it's less of a problem) and then I see how much diskspace is available.Fixed in #53.