Arch: Difference between revisions

No edit summary
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
After fifteen years of exclusively running [[Debian|Debian Linux]] in its [https://wiki.debian.org/DebianUnstable Unstable] ("sid") rolling configuration on [[Machines|my machines]], I converted my day-to-day laptop to Arch in March 2019 (my workstation remains Debian Unstable). The [[Lenovo]] T580 started life as "[https://www.youtube.com/watch?v=hCuMWrfXG4E uptowngirl]"; she was renamed "uptowngrimes" for the first pass at running Arch, and finally "[https://www.youtube.com/watch?v=Tv9YoYCKNoE grimes]" once I was ready to give Arch a real go. My primary motivations were the increasingly European and ossified nature of Debian, and the fact that the Arch wiki provided an increasing portion of the best content I was reading each day.
After fifteen years of exclusively running [[Debian|Debian Linux]] in its [https://wiki.debian.org/DebianUnstable Unstable] ("sid") rolling configuration on [[Machines|my machines]], I converted my day-to-day laptop to Arch in March 2019 (my workstation remains Debian Unstable). The [[Lenovo]] T580 started life as "[https://www.youtube.com/watch?v=hCuMWrfXG4E uptowngirl]"; she was renamed "uptowngrimes" for the first pass at running Arch, and finally "[https://www.youtube.com/watch?v=Tv9YoYCKNoE grimes]" once I was ready to give Arch a real go. My primary motivations were the increasingly European and ossified nature of Debian, and the fact that the Arch wiki provided a significant portion of the best content I was reading each day.


I dig it thus far!
I dig it thus far!
Line 26: Line 26:
</pre>
</pre>
Each time you build a new kernel, the preserved config will be copied into the source directory. <tt>make oldconfig</tt> will give you the opportunity to configure any new options. <tt>make menuconfig</tt> will then allow you to modify the kernel config. If this kernel config ends up different from the preserved config (it always will at least once, due to the version changing), the process will abort. Run <tt>cp src/archlinux-linux/.config ../config</tt> to preserve the new config. Once the config is no longer changing, the process can continue.
Each time you build a new kernel, the preserved config will be copied into the source directory. <tt>make oldconfig</tt> will give you the opportunity to configure any new options. <tt>make menuconfig</tt> will then allow you to modify the kernel config. If this kernel config ends up different from the preserved config (it always will at least once, due to the version changing), the process will abort. Run <tt>cp src/archlinux-linux/.config ../config</tt> to preserve the new config. Once the config is no longer changing, the process can continue.
If you wish to avoid the lengthy build of documentation (it will otherwise dominate your total build time), remove <tt>$pkgbase-docs</tt> from the <tt>pkgname</tt> array.
===New kernel process===
===New kernel process===
* Edit <tt>PKGBUILD</tt> and change <tt>_pkgver</tt>, usually to a string of the form <tt>MAJOR.MINOR.PATCH-arch1</tt>
* Edit <tt>PKGBUILD</tt> and change <tt>_pkgver</tt>, usually to a string of the form <tt>MAJOR.MINOR.PATCH.arch1</tt>
* Clear out any old packages and source: <tt>rm -rf *.xz src pkg</tt>
* Clear out any old packages and source: <tt>rm -rf *.xz src pkg</tt>
* Make your packages, updating the kernel config along the way (see above):
* Make your packages, updating the kernel config along the way (see above):