Uncoment deb-src via build script


kentAVR
 Share

1 1

Recommended Posts

I suggest allow armbian script put deb-src without comment.

 

For example I want to get system with deb-src packages. Of cause I can add deb-src via userpatches/customize-image.sh but it is not so easy.

May be armbian add option like INSTALL_KSRC that allow user to get OS with uncommented deb-src in /etc/apt/sources.list

It also helps in customize-image.sh For example:

Main() {   
    apt-get install libxcb-xinerama0-dev -y

 

It will Error: You must put some 'deb-src' URIs in your sources.list

 

The solution may be:

./compile.sh REPOSITORY_INSTALL=deb-src

general.sh

Link to post
Share on other sites

Donate and support the project!

I don't think it is necessary to enable source packages by default. Only a few people need those and those who do usually know how to enabled them quickly by hand. Having them enabled by default increases fs size which can be limited on smaller sd cards and adds additional wear and tear to it.

 

Anyway if you provide a PR that adds this as a flag like suggested merging will be considered.

Link to post
Share on other sites

  • lanefu locked this topic
Guest
This topic is now closed to further replies.
 Share

1 1