Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fai
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nico Dechesne (Stage)
Fai
Commits
2d1670b4
Commit
2d1670b4
authored
Dec 14, 2017
by
Riku Voipio
Browse files
Options
Downloads
Patches
Plain Diff
Update README
Change-Id: Icd8dfbc9fd7c00d689951021c1f6d9834b5eb804
parent
04eb231c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-4
6 additions, 4 deletions
README.md
with
6 additions
and
4 deletions
README.md
+
6
−
4
View file @
2d1670b4
Usage example:
Usage example
on arm64 host
:
apt update; apt install --no-install-recommends fai-server fai-setup-storage qemu-utils procps mtools
sudo modprobe loop
docker run --privileged -v $(pwd):/work --rm -it linaro/arm64-fai /bin/bash
cd /work
git clone http://git.linaro.org/ci/fai.git
git clone http://git.linaro.org/ci/fai.git
fai-diskimage -v --cspace $PATH/fai --hostname linaro-test -S 3G --class SID,DEBIAN,LINARO,QCOM,DB410C,RAW linaro.raw 2>&1|tee fai.log
fai-diskimage -v --cspace $(pwd)/fai --hostname linaro-test -S 3G --class BUSTER,DEBIAN,DEVELOPER,LINARO,QCOM,DB410C,RAW linaro.raw 2>&1|tee fai.log
img2simg linaro.raw linaro.img
Gotchas:
Gotchas:
-
loop devices need to exist before starting docker
-
order of classes matter - latter classes override variables from earlier ones
-
order of classes matter - latter classes override variables from earlier ones
-
missing packages in packages from package
\_
lists and errors while installing packages will not error the build out
-
missing packages in packages from package
\_
lists and errors while installing packages will not error the build out
-
grep the log for warnings and erros before proceeding
-
grep the log for warnings and erros before proceeding
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment