fix 3.8 ena drivers (#33)

* go back to using linux-virt@edge-main, which has ena drivers
* other misc fixes
  * update README
  * use --no-cache when installing alpine-base
This commit is contained in:
tomalok 2019-01-19 11:58:34 -08:00 committed by GitHub
parent b669fc0a21
commit 80c014d702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 9 deletions

View File

@ -56,16 +56,15 @@ its development and thus there are some sharp edges.
setting will work as will setting the ssh keys for the Alpine user based on
what was configured during instance launch. User data is supported as long
as it's a shell script (starts with #!). See the tiny-ec2-bootstrap README
for more details. You can still install cloud-init using aports but the
version in the tree is somewhat old and may not work correctly for Alpine.
If full cloud-init support is important to you please file a bug against this
project.
for more details. You can still install cloud-init (from the edge/3.9 testing
repositories), but we haven't tested whether it will not work correctly for
this AMI. If full cloud-init support is important to you please file a bug
against this project.
- Because several key packages in Alpine 3.8 are missing or lacking features,
we currently need to install some packages from edge. We expect that these
will be included in Alpine 3.9, or perhaps as a 3.8.x update.
- linux-virt @edge-main (includes necessary NVMe drivers)
- aws-ena-driver @edge-community (installs 'virt' flavored subpackage)
will be included in Alpine 3.9.
- linux-virt @edge-main (includes necessary ENA drivers)
- tiny-ec2-bootstrap @edge-main (updated to v1.2.0)
- CloudFormation support is still forthcoming. This requires patches and

View File

@ -131,7 +131,7 @@ install_core_packages() {
# tiny-ec2-bootstrap - to bootstrap system from EC2 metadata
#
chroot "$target" apk --no-cache add \
linux-virt \
linux-virt@edge-main \
alpine-mirrors \
nvme-cli \
chrony \
@ -322,7 +322,7 @@ main() {
fetch_keys "$target"
einfo "Installing base system"
$apk add --root "$target" --update-cache --initdb alpine-base
$apk add --root "$target" --no-cache --initdb alpine-base
setup_chroot "$target"