Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Enable mount SquashFS
@ 2019-01-18 18:27 Сергей Сахно
  2019-01-18 19:32 ` Peter Seiderer
  0 siblings, 1 reply; 4+ messages in thread
From: Сергей Сахно @ 2019-01-18 18:27 UTC (permalink / raw)
  To: buildroot

Good evening everyone. How to enable the ability to mount SquashFS? In the
menuconfig of busybox downloaded from the busybox site there is an item
[SquashFS filesystem] in the [Filesystem / Volume identification] section,
but in the menuconfig of busybox unpacked buildroot it is not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190118/9a046e1f/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Enable mount SquashFS
  2019-01-18 18:27 [Buildroot] Enable mount SquashFS Сергей Сахно
@ 2019-01-18 19:32 ` Peter Seiderer
       [not found]   ` <CAOqJNTfN9Ux1x_q3hXd6utAqtVCasUyx5yA1d2MqvMFg2_bMKg@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Seiderer @ 2019-01-18 19:32 UTC (permalink / raw)
  To: buildroot

Hello ??????,

On Fri, 18 Jan 2019 20:27:41 +0200, ?????? ????? <sergei.sakhno@gmail.com> wrote:

> Good evening everyone. How to enable the ability to mount SquashFS? In the
> menuconfig of busybox downloaded from the busybox site there is an item
> [SquashFS filesystem] in the [Filesystem / Volume identification] section,
> but in the menuconfig of busybox unpacked buildroot it is not.

Busybox CONFIG_FEATURE_VOLUMEID_SQUASHFS depends on VOLUMEID && FEATURE_BLKID_TYPE,
VOLUMEID is already enabled, FEATURE_BLKID_TYPE is Linux System Utilities -->
blkid --> Print Filesystem type

More important is enabled squashfs support in the linux kernel...

Regards,
Peter

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Enable mount SquashFS
       [not found]   ` <CAOqJNTfN9Ux1x_q3hXd6utAqtVCasUyx5yA1d2MqvMFg2_bMKg@mail.gmail.com>
@ 2019-01-21 20:45     ` Peter Seiderer
       [not found]       ` <CAOqJNTd10twL7LOeVpJn2Q8XLLALxYT-zr7hoH_oC4uYP2enwQ@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Seiderer @ 2019-01-21 20:45 UTC (permalink / raw)
  To: buildroot

Hello ??????,

please keep buildroot at busybox.net in CC....

On Mon, 21 Jan 2019 12:21:55 +0200, ?????? ????? <sergei.sakhno@gmail.com> wrote:

> Thks. I missed this this parametr.
> Can you help me with mount squashfs image in minimal image of linux,
> created in buildroot?
> When i try mount squashfs image as root (mount -t squashfs -o
> ro,loop,sizelimit=14319616 /home/update-last.raucb /run/rauc/bundle), i get
> error:
> 
> > mount: /run/rauc/bundle: mount failed: Operation not permitted.
> > Failed mounting bundle: failed to run mount: Child process exited with
> > code 1
> > installing /home/update-last.raucb: Failed mounting bundle: failed to run
> > mount: Child process exited with code 1
> >  
> EXT4 partition on real storage device mounted successfully.

Not much info....why mount to /run/rauc/bundle and not just /mnt ? Why option sizelimit?
Where does the 'installing' error message come from? How is the squashfs image update-last.raucb
created (never worked with rauc (yet))? Loop mounting enabled in the kernel?
Do you run your commands as root user? Which are the file permissions of the squashfs image file?

Regards,
Peter

> 
> 
> ??, 18 ???. 2019 ?. ? 21:32, Peter Seiderer <ps.report@gmx.net>:
> 
> > Hello ??????,
> >
> > On Fri, 18 Jan 2019 20:27:41 +0200, ?????? ????? <sergei.sakhno@gmail.com>
> > wrote:
> >  
> > > Good evening everyone. How to enable the ability to mount SquashFS? In  
> > the  
> > > menuconfig of busybox downloaded from the busybox site there is an item
> > > [SquashFS filesystem] in the [Filesystem / Volume identification]  
> > section,  
> > > but in the menuconfig of busybox unpacked buildroot it is not.  
> >
> > Busybox CONFIG_FEATURE_VOLUMEID_SQUASHFS depends on VOLUMEID &&
> > FEATURE_BLKID_TYPE,
> > VOLUMEID is already enabled, FEATURE_BLKID_TYPE is Linux System Utilities  
> > -->  
> > blkid --> Print Filesystem type
> >
> > More important is enabled squashfs support in the linux kernel...
> >
> > Regards,
> > Peter
> >
> >  

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Enable mount SquashFS
       [not found]       ` <CAOqJNTd10twL7LOeVpJn2Q8XLLALxYT-zr7hoH_oC4uYP2enwQ@mail.gmail.com>
@ 2019-01-22 18:19         ` Peter Seiderer
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Seiderer @ 2019-01-22 18:19 UTC (permalink / raw)
  To: buildroot

Hello ??????,

On Tue, 22 Jan 2019 01:33:59 +0200, ????? <sergei.sakhno@gmail.com> wrote:

> Problem was with loop-devices. I am did not  enable loop-devices support in
> kernel.

Thanks for the feedback...

Regards,
Peter

> 
> ??, 21 ???. 2019 ?. ? 22:45, Peter Seiderer <ps.report@gmx.net>:
> 
> > Hello ??????, buildroot at buildroot.org
> >
> > please keep buildroot at busybox.net in CC....
> >
> > On Mon, 21 Jan 2019 12:21:55 +0200, ?????? ????? <sergei.sakhno@gmail.com>
> > wrote:
> >  
> > > Thks. I missed this this parametr.
> > > Can you help me with mount squashfs image in minimal image of linux,
> > > created in buildroot?
> > > When i try mount squashfs image as root (mount -t squashfs -o
> > > ro,loop,sizelimit=14319616 /home/update-last.raucb /run/rauc/bundle), i  
> > get  
> > > error:
> > >  
> > > > mount: /run/rauc/bundle: mount failed: Operation not permitted.
> > > > Failed mounting bundle: failed to run mount: Child process exited with
> > > > code 1
> > > > installing /home/update-last.raucb: Failed mounting bundle: failed to  
> > run  
> > > > mount: Child process exited with code 1
> > > >  
> > > EXT4 partition on real storage device mounted successfully.  
> >
> > Not much info....why mount to /run/rauc/bundle and not just /mnt ? Why
> > option sizelimit?
> > Where does the 'installing' error message come from? How is the squashfs
> > image update-last.raucb
> > created (never worked with rauc (yet))? Loop mounting enabled in the
> > kernel?
> > Do you run your commands as root user? Which are the file permissions of
> > the squashfs image file?
> >
> > Regards,
> > Peter
> >  
> > >
> > >
> > > ??, 18 ???. 2019 ?. ? 21:32, Peter Seiderer <ps.report@gmx.net>:
> > >  
> > > > Hello ??????,
> > > >
> > > > On Fri, 18 Jan 2019 20:27:41 +0200, ?????? ????? <  
> > sergei.sakhno at gmail.com>  
> > > > wrote:
> > > >  
> > > > > Good evening everyone. How to enable the ability to mount SquashFS?  
> > In  
> > > > the  
> > > > > menuconfig of busybox downloaded from the busybox site there is an  
> > item  
> > > > > [SquashFS filesystem] in the [Filesystem / Volume identification]  
> > > > section,  
> > > > > but in the menuconfig of busybox unpacked buildroot it is not.  
> > > >
> > > > Busybox CONFIG_FEATURE_VOLUMEID_SQUASHFS depends on VOLUMEID &&
> > > > FEATURE_BLKID_TYPE,
> > > > VOLUMEID is already enabled, FEATURE_BLKID_TYPE is Linux System  
> > Utilities  
> > > > -->  
> > > > blkid --> Print Filesystem type
> > > >
> > > > More important is enabled squashfs support in the linux kernel...
> > > >
> > > > Regards,
> > > > Peter
> > > >
> > > >  
> >
> >  

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-22 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-18 18:27 [Buildroot] Enable mount SquashFS Сергей Сахно
2019-01-18 19:32 ` Peter Seiderer
     [not found]   ` <CAOqJNTfN9Ux1x_q3hXd6utAqtVCasUyx5yA1d2MqvMFg2_bMKg@mail.gmail.com>
2019-01-21 20:45     ` Peter Seiderer
     [not found]       ` <CAOqJNTd10twL7LOeVpJn2Q8XLLALxYT-zr7hoH_oC4uYP2enwQ@mail.gmail.com>
2019-01-22 18:19         ` Peter Seiderer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox