Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
meta-nemo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
meta-nemo
Commits
7917d6a0
Commit
7917d6a0
authored
May 19, 2017
by
Florent Revest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initramfs-boot-android: Run fsck before mounting userdata partition
parent
ca3aadfd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
init.sh
recipes-core/initrdscripts/initramfs-boot-android/init.sh
+2
-0
initramfs-boot-android_1.0.bbappend
...es-core/initrdscripts/initramfs-boot-android_1.0.bbappend
+1
-0
No files found.
recipes-core/initrdscripts/initramfs-boot-android/init.sh
View file @
7917d6a0
...
@@ -67,6 +67,8 @@ while [ ! -e /sys/block/mmcblk0 ] ; do
...
@@ -67,6 +67,8 @@ while [ ! -e /sys/block/mmcblk0 ] ; do
info
"Waiting for mmcblk0..."
info
"Waiting for mmcblk0..."
sleep
1
sleep
1
done
done
/sbin/fsck.ext4
-p
/dev/
$sdcard_partition
mount
-t
auto
-o
rw,noatime,nodiratime /dev/
$sdcard_partition
/sdcard
mount
-t
auto
-o
rw,noatime,nodiratime /dev/
$sdcard_partition
/sdcard
[
$?
-eq
0
]
||
fail
"Failed to mount the sdcard. Cannot continue."
[
$?
-eq
0
]
||
fail
"Failed to mount the sdcard. Cannot continue."
...
...
recipes-core/initrdscripts/initramfs-boot-android_1.0.bbappend
View file @
7917d6a0
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
S = "${WORKDIR}"
S = "${WORKDIR}"
RDEPENDS_${PN} += "e2fsprogs-e2fsck"
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