ry4he7 发表于 2016-3-27 23:39:09

自己编译v4package的脚本

[我是搬运工]入口: 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/









页: [1]
查看完整版本: 自己编译v4package的脚本