# Building rolling APT repo with .deb packages from source

**URL:** <https://forum.vyos.io/t/building-rolling-apt-repo-with-deb-packages-from-source/14651>\
**Category:** Development\
**Created:** [June 7, 2024, 4:23pm UTC](https://forum.vyos.io/t/building-rolling-apt-repo-with-deb-packages-from-source/14651 "2024-06-07T16:23:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![marekm72](https://forum.vyos.io/user_avatar/forum.vyos.io/marekm72/32/4253_2.png) [@marekm72](https://forum.vyos.io/u/marekm72)\
**Post date:** [June 7, 2024, 4:23pm UTC](https://forum.vyos.io/t/building-rolling-apt-repo-with-deb-packages-from-source/14651/1 "2024-06-07T16:23:28Z")

</div>

Building the 1.5 rolling ISO image actually doesn’t build everything from sources, but from .deb binary packages downloaded from existing APT repos - some from standard Debian 12, and some VyOS-specific ones from [https://rolling-packages.vyos.net/current](https://rolling-packages.vyos.net/current) (pointed to by vyos\_mirror in vyos\_build/data/defaults.toml).

I’d lke to be able to make my own rolling APT repo with the VyOS-specific .deb packages all built from vyos\_build/packages/\* sources, which could then be used instead of the default vyos\_mirror to build an equivalent unofficial rolling ISO image. I see each packages/\* subdirectory has a Jenkinsfile - does this mean Jenkins is still the way rolling builds are automated (like LTS builds)? Or is there an easier way (like a simple shell script or Makefile)?

Note, asking about rolling here, not LTS so please don’t get angry at me - thanks!

---

<div class="post-metadata">

**Author:** ![robertoberto](https://forum.vyos.io/user_avatar/forum.vyos.io/robertoberto/32/1137_2.png) [@robertoberto](https://forum.vyos.io/u/robertoberto)\
**Post date:** [June 7, 2024, 4:33pm UTC](https://forum.vyos.io/t/building-rolling-apt-repo-with-deb-packages-from-source/14651/2 "2024-06-07T16:33:50Z")

</div>

I would like to help you.

---

<div class="post-metadata">

**Author:** ![kyle](https://forum.vyos.io/letter_avatar_proxy/v4/letter/k/848f3c/32.png) [@kyle](https://forum.vyos.io/u/kyle)\
**Post date:** [June 7, 2024, 6:16pm UTC](https://forum.vyos.io/t/building-rolling-apt-repo-with-deb-packages-from-source/14651/3 "2024-06-07T18:16:50Z")

</div>

I do believe they still use Jenkins for their official builds but it is not necessary to build any of it. You can look in the Jenkins file and see the commands its runs for most of them and just run them manually or in the CI system of your choice. In a few of them you will find them just have the function “buildPackage()”, on these i just use `debuild -b -us -uc` and it works fine.

---

<div class="post-metadata">

**Author:** ![marekm72](https://forum.vyos.io/user_avatar/forum.vyos.io/marekm72/32/4253_2.png) [@marekm72](https://forum.vyos.io/u/marekm72)\
**Post date:** [June 8, 2024, 5:02pm UTC](https://forum.vyos.io/t/building-rolling-apt-repo-with-deb-packages-from-source/14651/4 "2024-06-08T17:02:02Z")

</div>

@robertoberto I can’t seem to be able to send a PM (though I can reply to PM from someone else) so please email me marekm72 at gmail dot com.

I’d like to be able to automate the process without the complexity of Jenkins, and get my own APT repo that could be used instead of the original one. In light of [⚓ T6450 Use http instead of https for rolling apt repo access](https://vyos.dev/T6450) so my own repo would support plain http and would be easy to mirror, or even use offline (say, carry it on a laptop and work offline on long travel by train).

---

<div class="post-metadata">

**Author:** ![marekm72](https://forum.vyos.io/user_avatar/forum.vyos.io/marekm72/32/4253_2.png) [@marekm72](https://forum.vyos.io/u/marekm72)\
**Post date:** [June 28, 2024, 10:33am UTC](https://forum.vyos.io/t/building-rolling-apt-repo-with-deb-packages-from-source/14651/6 "2024-06-28T10:33:12Z")

</div>

Making such repo public by someone other than VyOS™ project itself might require removing trademarked logo/artwork to be fully compliant until [⚓ T6451 Please consider removing trademarked logo/artwork in public build scripts](https://vyos.dev/T6451) is implemented. See also [⚓ T6483 Please include corresponding source packages for all .deb packages in APT repo](https://vyos.dev/T6483) - it’s really a suggestion for the project itself to make a fully GPL compliant APT repo (including the “plus the scripts used to control compilation and installation of the executable” part, currently missing).

---

<div class="post-metadata">

**Author:** ![syncer](https://forum.vyos.io/user_avatar/forum.vyos.io/syncer/32/1581_2.png) [@syncer](https://forum.vyos.io/u/syncer)\
**Post date:** [June 29, 2024, 11:34am UTC](https://forum.vyos.io/t/building-rolling-apt-repo-with-deb-packages-from-source/14651/7 "2024-06-29T11:34:32Z")

</div>

Jenkins build system is in process of deprecation.  
There are many articles on the internet on how to do APT repos or build packages

---

<div class="post-metadata">

**Author:** ![syncer](https://forum.vyos.io/user_avatar/forum.vyos.io/syncer/32/1581_2.png) [@syncer](https://forum.vyos.io/u/syncer)\
**Post date:** [June 29, 2024, 11:34am UTC](https://forum.vyos.io/t/building-rolling-apt-repo-with-deb-packages-from-source/14651/8 "2024-06-29T11:34:42Z")

</div>

Closed on June 29, 2024, 11:34am UTC


