维塔斯科技

 找回密码
 立即注册
查看: 462|回复: 0
打印 上一主题 下一主题

自己编译v4package的脚本

[复制链接]

该用户从未签到

60

主题

406

帖子

888

积分

高级会员

Rank: 4

积分
888
跳转到指定楼层
楼主
发表于 2016-3-27 23:39:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
[我是搬运工]入口: https://github.com/jakubholynet/ ... up/mycloud-build-vm


自动化脚本: https://github.com/jakubholynet/ ... build-vm/install.sh


搬运:
Build duplicity for WD MyCloud v4
v4 of MyCloud Linux switched to page size 64k, which made packages from public repositories unusable and it is necessary to rebuild them from sources. This project contains a script and VM to build those packages.
It is 99% based on http://community.wd.com/t5/WD-My-Cloud/GUIDE-Building-packages-for-the-new-firmware-someone-tried-it/m-p/770653#M18650 and the update at http://community.wd.com/t5/WD-My-Cloud/GUIDE-Building-packages-for-the-new-firmware-someone-tried-it/m-p/841385#M27799
Prerequisities
Vagrant and VirtualBox.
Usage
Increase the memory of the VM (currently 250MB) if you have enough, using VirtualBox
Run vagrant up
Run vagrant ssh to enter the VM
Setup the build environment: run sudo /vagrant/install.sh in the VM; check for errors
Build the packages: run sudo nohup /vagrant/build-duplicity.sh & (it will take lot of time and we don't want to lose the build process when ssh disconnects; watch via sudo tail -f nohup.out)
Copy the built wheezy and jessie packages to MyCloud; important: exclude -dev packages

Note: Building takes a long time.
Alternative approaches
http://jodal.no/2015/03/08/building-arm-debs-with-pbuilder/
https://blog.night-shade.org.uk/2013/12/building-a-pure-debian-armhf-rootfs/









回复

使用道具 举报

发表回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

    移动客户端:
    关注我们:
  • 手机客户端:
  • 安卓版
  • 扫描二维码下载

Archiver|手机版|河北维塔斯科技有限公司 ( 冀ICP备16008275号 )

快速回复 返回顶部 返回列表