[lowrisc-dev] make cpio error

Dinesh Thirumurthy dinesh.thirumurthy at gmail.com
Fri Dec 28 07:08:22 GMT 2018


Hi,

Following instructions at
https://www.lowrisc.org/docs/download-install-debian/
On running make cpio
I get this error:

sudo tar cJf - -C work/debian-riscv64-chroot . > ../rootfs.tar.xz
rm -rf bin etc dev home lib proc sbin sys tmp usr mnt nfs root run init
mkdir -p bin etc dev home lib proc sbin sys tmp usr mnt nfs root run
usr/bin usr/lib usr/sbin usr/share/perl5 usr/share/udhcpc
lib/riscv64-linux-gnu usr/lib/riscv64-linux-gnu # usr/share/sysvinit
cp -p work/usr-share-udhcpc-default.script usr/share/udhcpc/default.script
cp -p work/debian-riscv64-chroot/sbin/mount.nfs ./sbin
cp: cannot stat 'work/debian-riscv64-chroot/sbin/mount.nfs': No such file
or directory
work/makefile.inc:17: recipe for target 'init' failed
make: *** [init] Error 1
dt at marina:~/l/lowrisc-chip/debian-riscv64$ ls
work/debian-riscv64-chroot/sbin/
agetty      cfdisk      e2image      fsck         fsfreeze       isosize
mkfs         mkfs.minix        raw                start-stop-daemon.REAL
tune2fs
badblocks   chcpu       e2label      fsck.cramfs  fstab-decode   killall5
mkfs.bfs     mkhomedir_helper  resize2fs          sulogin
unix_chkpwd
blkdiscard  ctrlaltdel  e2mmpstatus  fsck.ext2    fstrim         ldconfig
mkfs.cramfs  mkswap            runuser            swaplabel
unix_update
blkid       debugfs     e2undo       fsck.ext3    getty          logsave
mkfs.ext2    pam_tally         sfdisk             swapoff
wipefs
blkzone     dumpe2fs    fdisk        fsck.ext4    hwclock        losetup
mkfs.ext3    pam_tally2        shadowconfig       swapon
zramctl
blockdev    e2fsck      findfs       fsck.minix   installkernel  mke2fs
mkfs.ext4    pivot_root        start-stop-daemon  switch_root
dt at marina:~/l/lowrisc-chip/debian-riscv64$

How do I fix/overcome this?

Thanks.

Regards,
Dinesh


More information about the lowrisc-dev mailing list