Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SlapOS Develop
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eric Zheng
SlapOS Develop
Commits
7183498b
Commit
7183498b
authored
Aug 01, 2019
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[nayuos]: get_latest_image.sh doesn't exist anymore. Use new option --most_recent
parent
225795ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
software/nayuos/scripts/test_nayuos_image
software/nayuos/scripts/test_nayuos_image
+2
-2
No files found.
software/nayuos/scripts/test_nayuos_image
View file @
7183498b
...
@@ -35,7 +35,7 @@ function print_result() {
...
@@ -35,7 +35,7 @@ function print_result() {
# MOUNT IMAGE AND GET INFO
# MOUNT IMAGE AND GET INFO
install
-d
"
${
MOUNTPOINT
}
"
install
-d
"
${
MOUNTPOINT
}
"
./mount_gpt_image.sh
--safe
-
f
$(
./get_latest_image.sh
--board
=
${
BOARD
}
)
-r
${
MOUNTPOINT
}
./mount_gpt_image.sh
--safe
-
-most_recent
--board
${
BOARD
}
-r
${
MOUNTPOINT
}
echo
$(
ls
"
${
MOUNTPOINT
}
/usr/local"
)
echo
$(
ls
"
${
MOUNTPOINT
}
/usr/local"
)
if
[[
$(
ls
"
${
MOUNTPOINT
}
/usr/local"
)
]]
;
then
if
[[
$(
ls
"
${
MOUNTPOINT
}
/usr/local"
)
]]
;
then
my_diff
=
$(
diff
"
${
ORIGINAL_GRANDENET_SCRIPT
}
"
"
${
MOUNTPOINT
}
/
${
GRANDENET_SCRIPT
}
"
)
my_diff
=
$(
diff
"
${
ORIGINAL_GRANDENET_SCRIPT
}
"
"
${
MOUNTPOINT
}
/
${
GRANDENET_SCRIPT
}
"
)
...
@@ -48,7 +48,7 @@ if [[ $(ls "${MOUNTPOINT}/usr/local") ]] ; then
...
@@ -48,7 +48,7 @@ if [[ $(ls "${MOUNTPOINT}/usr/local") ]] ; then
else
else
is_empty
=
1
is_empty
=
1
fi
fi
./mount_gpt_image.sh
--safe
-
f
$(
./get_latest_image.sh
--board
=
${
BOARD
}
)
-r
${
MOUNTPOINT
}
-u
./mount_gpt_image.sh
--safe
-
-most_recent
--board
${
BOARD
}
-r
${
MOUNTPOINT
}
-u
rmdir
${
MOUNTPOINT
}
rmdir
${
MOUNTPOINT
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment