[18:41] Hi, I am a system developer looking for Lubuntu source code. [18:42] I wonder if there is any way I could get the source code [18:42] The reason is because I need to statically embed certain drivers into the kernel image, and doing this would require recompiling the kernel. [18:43] Lubuntu is an official Ubuntu flavour, and it's built on top of it. [18:45] But Lubuntu is lighter than Ubuntu, consuming less amount of memory, so shouldn't they be different? [18:45] If you need the kernel source it's also based on Debian's. Lubuntu's distinctive desktop, apps and configuration are hosted on Git and Launchpad. So I'm afraid there's not a single place where you can get everything. [18:46] yes, it's lighter because of the apps on top of the kernel and the graphical subsystem [18:46] but the kernel is the same for all flavours except (and it depends on the release) for Ubuntu Studio, that uses a low latency one. [18:46] The reason I need a light Ubuntu is because I need to run Ubuntu on a resource-constrained IoT board. [18:47] you could try something different [18:47] Lubuntu says, its minimum RAM is 128MB. [18:47] But if I run the official Ubuntu at runlevel=3 (almost minimum), its RAM usage is still 280MB [18:47] use a net installer with minimal core apps, no desktop, or use Openbox as the only UI (it depends on XOrg though) [18:49] You mean, I try that on the generic Linux? (not on Ubuntu?) [18:49] here is the information for minimal installations using the kernel (I insist it's the same for us all): https://help.ubuntu.com/community/Installation/MinimalCD [18:51] Thanks for the link, but I think I can't just download the .iso image and install, because I have to change the Kernel's .config file. [18:52] I need to statically embed a particular kernel module (i.e. TPM module) into the kernel image. For this I have to change the kernel's config file. [18:52] there's some information about kernel source here: https://wiki.ubuntu.com/Kernel/Dev/KernelGitGuide [18:52] By default, Ubuntu's iso images treat this TPM module to be dynamically loaded, which is a problem for me. [18:53] but sorry, I'm not an expert in this kernel matters. if you need more help you can always head to askubuntu.com and see if there're more requests like yours or create your own [18:54] I can get Ubuntu kernel source code by typing " sudo apt-get source linux-image-$(uname -r) " [18:55] This downloads the Ubuntu source code from the repository. [18:55] yes. that's another source [18:55] But I couldn't find any such public repository for Lubuntu. [18:55] The repositories are the same, so that's the Lubuntu kernel. [18:56] because Lubuntu itself is just a desktop. we simply "choose" and customise Ubuntu to try to make a lighter Ubuntu [18:56] but all flavours can install the apps we use. we all flavours share everything on the repos [18:57] I see, then is Lubuntu the same as Ubuntu except that it installs a fewer number of apps, or installs lighter apps instead? [18:58] exactly [18:58] LXDE Ubuntu, basically. [18:58] And is there a way for me to access and download Lubuntu kernel, just like I can download Ubuntu kernel code by doing "apt-get source ..."? [18:59] same as Kubuntu, Kylin, Xubuntu, UbuntuMate... [18:59] Lubuntu kernel and Ubuntu kernel are the same [18:59] Right, only the apps are different [18:59] yes [19:00] When I download Ubuntu by "apt-get source..." and build it, I get a complete Ubuntu Debian package. [19:01] right [19:01] That means, all Ubuntu apps are already included in the downloaded folder from "apt-get source..." and they get automatically included when building the kernel image [19:01] No. [19:04] When I do "sudo apt-get source linux-image-$(uname -r) ", the folder contains a subfolder called "ubuntu". I guess this folder is the Ubuntu apart the common Linux kernel source code. [19:28] If "the kernel is the same for all flavours", then if I install Lubuntu from .iso, download the kernel source code from Ubuntu repository by typing "sudo apt-get source linux-image-$(uname -r)", recompile the kernel and install it on my machine, would it work and boot up as Lubuntu with an updated kernel image? [19:45] Yes, and you should have some docs on wiki.ubuntu.com, about building a custom kernel