Ticket #253 (closed defect: fixed)
Typo in /etc/init.d/checkroot.sh prohibits correct processing /etc/fstab
| Reported by: | oe@… | Owned by: | mickey@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | OE bitbake recipes / build system | Version: | unspecified |
| Severity: | blocker | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
Currently /tmp is not mounted as tmpfs which means all writes into /tmp cause
flash-wear.
Attachments
Change History
Changed 6 years ago by oe@…
- Attachment base-files.patch added
comment:1 Changed 6 years ago by philippedeswert@…
- blocked set to 144
This probably also removes the need for the hack in #144. As /tmp will be
tmpfs, the contents of /tmp will be gone when the device reboots. No need to
clean /tmp.
comment:2 Changed 6 years ago by mickey@…
- Severity changed from normal to blocker
- Summary changed from Mount /tmp as tmpfs to Typo in /etc/init.d/checkroot.sh prohibits correct processing /etc/fstab
/tmp is actually a link to /var/tmp which is supposed to be mounted as a tmpfs
-- at least according to /etc/fstab. Now the problem is something different
(which is why I'm changing the title of this bug): During boot, checkroot.sh emits:
sh: rw: unknown operand
I traced the offending line down to:
if [ $(grep "$ROOTFSDEV\w" /proc/mounts | awk '{print $4}') = "rw" ]; then
Note: See
TracTickets for help on using
tickets.

Patch against packages/base-files