Updating the Linux Standard Base of the Meilix
Originally Meilix uses the Ubuntu mirror to fetch the Kernel source for the building of the Operating System. Therefore whenever a user type lsb_release -a for fetching the required information, they get the Ubuntu build info. The task is to change the config file to update the Linux Base Information from Ubuntu to Meilix.
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 17.04 Release: 17.04 Codename: zesty
We need to patch a file in the location meilix-default-settings/etc/lsb-release which contains the information of the lsb release and this will overwrite the original configuration of Meilix.
This is how the lsb-release file looks like now:
DISTRIB_ID=Meilix DISTRIB_RELEASE=17.04 DISTRIB_CODENAME=meilix DISTRIB_DESCRIPTION="Meilix 17.04"
We made the required changes in the file as shown above and the output is as follows:
Shorten the log length of Meilix in Travis
We are facing issues while deployment of Meilix ISO in Travis and the error follows is ReadTimeout Error. Example log of one of fail build is:
This error gets solved automatically and the the ISO gets deployment after 1 or 2 restart of the build. But this time the error doesn’t get solved and after several attempts of restart of build, the ISO doesn’t get deployed.
Reason behind the error:
Travis is taking a lot of time to build the ISO. Travis logs are exceeding the time limit.
Proposed solution:
Reduce the time of build or shift to a new CI.
Reduce the log of the build so as to get the log within 9999 lines.
Solution Implemented
The best solution is to reduce the number of lines used in the log and this will also reduce the time of the build.
I tried concealing some command outputs by appending >/dev/null 2>&1 to some of the commands that has long outputs and adding -y to the commands like:
apt-get -qq -y --purge install file-roller unrar
References
Wiki of Linux Standard Base
Linux Foundation lsb
Ubuntu answer to reduce log