-
n
-
n
Create the directory for storing your rootfs data. This could be a loop mounted dir, or just a plain directory. For e.g:
n n
nmkdir /destination/
n -
n
Install the baselayout (contains the basics of the filesystem)
n n
npisi it --ignore-comar baselayout.pisi -D /destination
n -
n
Install all the pisis you need (replace abcd.pisi with yours)
n n
npisi it --ignore-comar abcd.pisi -D /destination
n -
n
Next we need to configure the rootfs. For this, we need to first setup some requirements:
n n
nmount --bind /proc /destination/proc
n -
n
Configure the package
n n
n npisi cp baselayout.pyp
npisi cp
n -
n
Generate a squashfs
n n
nmksquashfs destination myimage.img -noappend -comp gzip -ef /tmp/lkj
n