Skip to content

Commit

Permalink
Documentation: fix obvious bitrot for android-xfstests
Browse files Browse the repository at this point in the history
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
  • Loading branch information
tytso committed Feb 19, 2025
1 parent 404f78a commit 109e74f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Documentation/android-xfstests.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ devices. If you encounter a problem, please submit a fix!
## Requirements

- The android-xfstests script installed:
run `make android-xfstests.sh` in the top-level directory of
xfstests-bld, then move `android-xfstests.sh` to
run `make android-xfstests` in the top-level directory of
xfstests-bld, then move `android-xfstests` to
`~/bin/android-xfstests` or another location on your `$PATH`.

- A rooted Android device with sufficient internal storage. For most
Expand Down
7 changes: 3 additions & 4 deletions Documentation/building-xfstests.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ For gce-xfstests test appliances, you'll need an amd64 chroot:

$ sudo ./setup-buildchroot --arch=amd64

For android-xfstests test appliances, you'll need an armhf or arm64
For android-xfstests test appliances, you'll need an arm64
chroot:

$ sudo ./setup-buildchroot --arch=armhf
$ sudo ./setup-buildchroot --arch=arm64

Normally ARM will be a foreign architecture, so `setup-buildchroot`
Expand All @@ -92,8 +91,8 @@ Afterwards, it will behave just like a native chroot.
Once you're created a chroot, you should be able to use the `schroot`
program to enter it, e.g.:

$ schroot -c bullseye-amd64 # enter chroot as regular user
$ schroot -c bullseye-amd64 -u root # enter chroot as root
$ schroot -c bookworm-amd64 # enter chroot as regular user
$ schroot -c bookworm-amd64 -u root # enter chroot as root

The `-c` option must specify the name of the chroot as listed in
`/etc/schroot/schroot.conf`. By default `setup-buildchroot` names the
Expand Down

0 comments on commit 109e74f

Please sign in to comment.