[LINUX] Since ubuntu 20.04 is out, I will write a recipe for how to make an oleo distro (2020-06-04 version)

at first

This should probably be enough for an "in-house distro".

--The GPL does not consider making and using multiple copies in one organization or company as "distribution" And --MPL also has similar view --Refer to Q6 of FAQ -Ubuntu IP Policy is almost the same. - You can modify Ubuntu for personal or internal use - You can make changes to Ubuntu for your own personal use or for your organisation’s own internal use.

When "distributed" outside the organization, at least the following measures should be taken in accordance with the GPL, MPL, and Ubuntu IP policies.

--Prepare a system to distribute the source code

Requirement definition


Fully devoted to telework / remote work, which is attracting attention as a countermeasure against COVID-19

--Based on xubuntu 20.04 (lubuntu 20.04 has not been released at the time of creation) --All Network Manager VPN plugins included --All Remmina's additional protocol plugins are included --Leave the browser --For other packages, "Erase what can be erased"

Additional requirements (thought on the way)

--When you burn a copy of the distro to a USB memory and hand it over in-house, each person can hand it over with different "VPN and remmina connection settings" (unsolved) ――The writer belongs to the "department that can't be helped unless you go to the place where the equipment and the actual item are", but people in the indirect department are also going to work as usual. (Probably the environment is undeveloped?)


  1. Install (x) buntu on the virtual machine or actual machine and replace the package.
  2. At this time, if you plan to distribute it to the outside, replace the trademark and delete the package with restricted redistribution, including the package where you do not know where the source code is (snap version package is troublesome to find the source code) so···)
  3. Make an ISO file with Distroshare Ubuntu Imager

I didn't make it for external distribution this time, but to get the source code of the package, look at the manifest file and make it in the form of * package name = version *

$cat /media/cdrom/casper/filesystem.manifest |sed -e 's/ /=/g' >package.list

Anyway, it's good. However, if you try to feed all packages with apt source --download-only

NOTICE: 'accountsservice' packaging is maintained in the 'Git' version control system at: https://anonscm.debian.org/git/collab-maint/accountsservice.git Please use: git clone https://anonscm.debian.org/git/collab-maint/accountsservice.git to retrieve the latest (possibly unreleased) updates to the package. (Omitted below)

I was told,

$cat /media/cdrom/casper/filesystem.manifest |sed -e 's/ /=/g' | sed -e 's/^/apt source --download-only /g' >pkg-dl.sh $chmod u+x pkgdl.sh

It seems that it should be done.

Unsolved issues

--Batch acquisition of package source code with ~~ apt etc. ~~ ――I can't think of a good way to automate the creation of ISO images with different settings for each person. --In the case of external distribution, it may take some time to drop the source code of the Snap package (delete it if unnecessary)


-** I missed the opportunity because I came up with the material late ** --The requirement definition was loose --In the first place, if it's your own (because the number is small and each has different uses), "a meta package that installs only the things you want to put in common to all machines" is enough

Recommended Posts

Since ubuntu 20.04 is out, I will write a recipe for how to make an oleo distro (2020-06-04 version)
How to make a Python package (written for an intern)
I tried to make a calculator with Tkinter so I will write it
How to write a ShellScript Bash for statement
I read "How to make a hacking lab"
How to write a test for processing that uses BigQuery
Hypothesis / Verification (176) How to make a textbook that is easier than "The easiest textbook for quantum computers"
Since there is no description on how to build an environment for nnabla with Docker including GPU, I tried it myself Part 1
How to make a string into an array or an array into a string in Python
Spigot (Paper) Introduction to how to make a plug-in for 2020 # 01 (Environment construction)
How to make a unit test Part.1 Design pattern for introduction
How to get a list excluding elements whose index is i ...?
I will explain how to use Pandas in an easy-to-understand manner.
I tried to make a strange quote for Jojo with LSTM
How to write what to do when an application is first displayed in Qt for Python with Designer
How to make a Japanese-English translation
How to make a slack bot
How to make a crawler --Advanced
How to make a recursive function
How to make a deadman's switch
[Blender] How to make a Blender plugin
How to make a crawler --Basic
How to make a model for object detection using YOLO in 3 hours
I tried to make a face diagnosis AI for a female professional golfer ①
I tried to make a face diagnosis AI for a female professional golfer ②
A memorandum of how to write pandas that I tend to forget personally
I tried to make a skill that Alexa will return as cold
python: Tips for displaying an array (list) with an index (how to find out what number an element of an array is)