-
Notifications
You must be signed in to change notification settings - Fork 7
Debian support #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Debian support #30
Changes from all commits
b6bb058
bb7ce5c
279cfda
ebf2919
e4325f4
b8f7021
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| {% set PROJECT = PROJECT|default("") %} | ||
| {% extends PROJECT+"flasher.jinja2" %} | ||
|
|
||
| {% set BOOT_OS_PROMPT = BOOT_OS_PROMPT|default("root@iq-8075-evk") %} | ||
| {% set ROOTFS_URL_COMP = ROOTFS_URL_COMP|default("gz") %} | ||
|
|
||
| {% set rootfs_label = 'rootfs' %} | ||
|
|
||
| {% block device_type %}iq-8075-evk{% endblock %} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| {% set PROJECT = PROJECT|default("") %} | ||
| {% extends PROJECT+"flasher.jinja2" %} | ||
|
|
||
| {% set BOOT_OS_PROMPT = BOOT_OS_PROMPT|default("root@uno-q") %} | ||
| {% set ROOTFS_URL_COMP = ROOTFS_URL_COMP|default("gz") %} | ||
|
|
||
| {% set rootfs_label = 'rootfs' %} | ||
|
|
||
| {% block device_type %}unoq{% endblock %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| {% extends "devices/iq-9075-evk" %} | ||
|
|
||
| {% set flasher_device_type = "debian-lemans-evk_ufs" %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| {% set PROJECT = PROJECT|default("") %} | ||
| {% extends PROJECT+"flasher.jinja2" %} | ||
|
|
||
| {% set ROOTFS_URL_COMP = ROOTFS_URL_COMP|default("gz") %} | ||
|
|
||
| {% set rootfs_label = 'rootfs' %} | ||
|
|
||
| {% set flasher_device_type = "debian-monaco-arduino-monza_emmc" %} | ||
|
|
||
| {% block device_type %}ventunoq{% endblock %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| {% extends "devices/iq-8075-evk" %} | ||
|
|
||
| {% set flasher_device_type = "debian-monaco-evk_ufs" %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| {% extends "devices/qcs615-ride" %} | ||
|
|
||
| {% set flasher_device_type = "debian-qcs615-ride_ufs" %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| {% extends "devices/qcs6490-rb3gen2-core-kit" %} | ||
|
|
||
| {% set flasher_device_type = "debian-qcs6490-rb3gen2-vision-kit_ufs" %} |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| {% extends "devices/qcs8300-ride-sx" %} | ||
|
|
||
| {% set flasher_device_type = "debian-qcs8300-ride_ufs" %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| {% extends "devices/qcs9100-ride-sx"%} | ||
|
|
||
| {% set flasher_device_type = "debian-qcs9100-ride-r3_ufs" %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| {% extends "devices/unoq" %} | ||
|
|
||
| {% set flasher_device_type = "debian-qrb2210-arduino-imola_emmc" %} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| {% extends "devices/qrb2210-rb1-core-kit" %} | ||
|
|
||
| {% set flasher_device_type = "debian-qrb2210-rb1_emmc" %} |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,8 @@ | ||
| {% extends "include/flasher.jinja2" %} | ||
|
|
||
| {% set device_type = "debian-" + device_type %} | ||
| {% set ADDITIONAL_POSTPROCESS_STEPS = ['echo "ROOTFS_IMAGE=disk-sdcard.img2" >> $IMAGE_PATH/flash.settings'] %} | ||
| {% set BOOT_OS_PROMPT = BOOT_OS_PROMPT|default("root@debian") %} | ||
|
|
||
| {% block deploy_target %} | ||
| {{ super() }} | ||
|
|
@@ -14,5 +16,15 @@ metadata: | |
| {% endblock metadata %} | ||
|
|
||
| {% block context %} | ||
| lava_test_results_dir: /home/lava-%s | ||
| test_character_delay: 10 | ||
| {% endblock context %} | ||
|
|
||
| {% block auto_login_commands %} | ||
| login_commands: | ||
| - "debian" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FYI, this might get stepped on by qualcomm-linux/qcom-deb-images#316
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess you should send a patch when you expect it to be merged. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was expecting:
The first two being login + password, the third one being password again before changing password, and the new password lines being the one + confirmation.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. login+password (initial login) is handled by |
||
| - "new password" | ||
| - "new password" | ||
| - sudo su | ||
| {% endblock auto_login_commands %} | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,2 @@ | ||
| build-url: {{BUILD_URL | default('')}} | ||
| kernel-series: {{KERNEL_SERIES | default('')}} |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../../../testcases/pre-merge-bt.yaml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../../../testcases/pre-merge-display-gfx.yaml |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../../../testcases/pre-merge-bt.yaml |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../../../testcases/pre-merge-display-gfx.yaml |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../../testcases/boot.yaml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../../testcases/pre-merge-basic.yaml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../../testcases/pre-merge-bt.yaml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../../../testcases/pre-merge-display-gfx.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yocto uses machine-specific prompts, but qcom-deb-images does not; right now, it's always debian@debian; we'd like to change this in the future (Ubuntu support, device-specific hostnames), but for now I think you should hardcode debian@debian for qcom-deb-images.
This is a common file though; perhaps this should be an OS specific template instead, with a meta-qcom version and a qcom-deb-images version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK. I can move it one level up - project setting, not a device-in-a-project setting