|
【技术讨论】
Firefly-RK3288 编译debian问题
发表于 2020-8-4 18:10:28
浏览:42732
|
回复:31
打印
只看该作者
[复制链接]
楼主
我在 ubuntu 16.04 (livebuild debootstrap 更新为最新的)上编译debian,使用Firefly官方编译工程,与官方指导书,有提示编译错误(Failed to run livebuild, please check your network connection. ),但是也生成了linaro-rootfs.img(看日期是新生成的)。这种情况算编译成功了吗;
部分日志如下:
if [ -f binary-tar.tar.gz ]; then \
tar -jcf linaro-stretch-alip-`date +%Y%m%d`-1.config.tar.bz2 auto/ config/ configure; \
sudo mv binary.contents linaro-stretch-alip-`date +%Y%m%d`-1.contents; \
sudo mv chroot.packages.live linaro-stretch-alip-`date +%Y%m%d`-1.packages; \
sudo mv binary-tar.tar.gz linaro-stretch-alip-`date +%Y%m%d`-1.tar.gz; \
md5sum linaro-stretch-alip-`date +%Y%m%d`-1.build-log.txt linaro-stretch-alip-`date +%Y%m%d`-1.config.tar.bz2 linaro-stretch-alip-`date +%Y%m%d`-1.contents linaro-stretch-alip-`date +%Y%m%d`-1.packages linaro-stretch-alip-`date +%Y%m%d`-1.tar.gz > linaro-stretch-alip-`date +%Y%m%d`-1.md5sums.txt; \
sha1sum linaro-stretch-alip-`date +%Y%m%d`-1.build-log.txt linaro-stretch-alip-`date +%Y%m%d`-1.config.tar.bz2 linaro-stretch-alip-`date +%Y%m%d`-1.contents linaro-stretch-alip-`date +%Y%m%d`-1.packages linaro-stretch-alip-`date +%Y%m%d`-1.tar.gz > linaro-stretch-alip-`date +%Y%m%d`-1.sha1sums.txt; \
fi
Failed to run livebuild, please check your network connection.
\033[36m Run mk-base-debian.sh first \033[0m
Extract image
tar: linaro-stretch-alip-*.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
umount: binary/dev: not mounted
Making rootfs!
0+0 records in
0+0 records out
0 bytes copied, 0.00109913 s, 0.0 kB/s
Format rootfs to ext4
mke2fs 1.42.13 (17-May-2015)
Discarding device blocks: done
Creating filesystem with 1024000 4k blocks and 256000 inodes
Filesystem UUID: b8269df7-a53c-4af5-be26-c14cf7750b86
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done
Mount rootfs to ./rootfs
Copy rootfs to ./rootfs
Umount rootfs
Rootfs Image: linaro-rootfs.img
linaro-rootfs.img: 51872/256000 files (0.5% non-contiguous), 469448/1024000 blocks
resize2fs 1.42.13 (17-May-2015)
Resizing the filesystem on linaro-rootfs.img to 695466 (4k) blocks.
The filesystem on linaro-rootfs.img is now 695466 (4k) blocks long.
====Build Debian9 ok!====
|
|