Upgrade Live Image to bookworm
This commit is contained in:
parent
95c538ed3a
commit
365f1ac6ea
5 changed files with 86 additions and 20 deletions
BIN
My_cephei_pxi.png
Normal file
BIN
My_cephei_pxi.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 MiB |
37
makefile
37
makefile
|
@ -8,8 +8,9 @@ SHELL := /bin/bash
|
||||||
build:
|
build:
|
||||||
# Build the live system/ISO image↵
|
# Build the live system/ISO image↵
|
||||||
sudo lb clean --all
|
sudo lb clean --all
|
||||||
sudo lb config --image-name CEPHEUS- --hdd-label CEPHEUS --debian-installer live --archive-areas main non-free-firmware
|
#sudo lb config --image-name CEPHEUS-CALAMARES- --hdd-label CEPHEUS-CALAMARES- --archive-areas main non-free-firmware
|
||||||
#sudo lb config --debug --distribution bookworm --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label CEPHEUS-bookworm --uefi-secure-boot disable --image-name CEPHEUS-bookworm --linux-packages "linux-image linux-headers"i
|
#sudo lb config --distribution bullseye --image-name CEPHEUS- --hdd-label CEPHEUS --archive-areas main non-free-firmware
|
||||||
|
sudo lb config --debug --distribution bookworm --debian-installer live --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label CEPHEUS-bookworm --uefi-secure-boot disable --image-name CEPHEUS-bookworm --linux-packages "linux-image linux-headers"
|
||||||
#lb config --debug --debian-installer live --distribution bookworm --backports true --archive-areas "main contrib non-free non-free-firmware" --uefi-secure-boot disable --hdd-label CEPHEUS --image-name CEPHEUS-bookworm --linux-packages "linux-image linux-headers"
|
#lb config --debug --debian-installer live --distribution bookworm --backports true --archive-areas "main contrib non-free non-free-firmware" --uefi-secure-boot disable --hdd-label CEPHEUS --image-name CEPHEUS-bookworm --linux-packages "linux-image linux-headers"
|
||||||
# configure installer
|
# configure installer
|
||||||
echo "debian-installer-launcher" > config/package-lists/installer.list.chroot
|
echo "debian-installer-launcher" > config/package-lists/installer.list.chroot
|
||||||
|
@ -17,16 +18,40 @@ build:
|
||||||
# add packages
|
# add packages
|
||||||
cat packages.list > config/package-lists/desktop.list.chroot
|
cat packages.list > config/package-lists/desktop.list.chroot
|
||||||
# add User-Config
|
# add User-Config
|
||||||
|
#mkdir -p config/includes.chroot/etc/calamares/modules/
|
||||||
|
# dir for color scheme for vim
|
||||||
mkdir -p config/includes.chroot/etc/skel/.vim/colors
|
mkdir -p config/includes.chroot/etc/skel/.vim/colors
|
||||||
|
# vim packages installer
|
||||||
|
mkdir -p config/includes.chroot/etc/skel/.vim/bundle
|
||||||
|
# vim packages
|
||||||
|
mkdir -p config/includes.chroot/etc/skel/.vim/nerdtree
|
||||||
|
mkdir -p config/includes.chroot/etc/skel/.vim/plugin
|
||||||
|
mkdir -p config/includes.chroot/etc/skel/.vim/bundle/YouCompleteMe
|
||||||
|
mkdir -p config/includes.chroot/etc/skel/.vim/pack/tpope/start
|
||||||
|
# i3
|
||||||
mkdir -p config/includes.chroot/etc/skel/.config/i3
|
mkdir -p config/includes.chroot/etc/skel/.config/i3
|
||||||
|
# systemd
|
||||||
|
mkdir -p config/includes.chroot/etc/systemd/system
|
||||||
|
# config for vim
|
||||||
|
git clone https://github.com/gmarik/Vundle.vim.git config/includes.chroot/etc/skel/.vim/plugin/Vundle.vim
|
||||||
|
git clone https://github.com/VundleVim/Vundle.vim.git config/includes.chroot/etc/skel/.vim/bundle/vundle.vim
|
||||||
|
git clone https://github.com/ycm-core/YouCompleteMe.git config/includes.chroot/etc/skel/.vim/bundle/YouCompleteMe/
|
||||||
|
git clone https://tpope.io/vim/fugitive.git config/includes.chroot/etc/skel/.vim/pack/tpope/start/
|
||||||
|
git clone https://github.com/preservim/nerdtree config/includes.chroot/etc/skel/.vim/nerdtree/
|
||||||
|
# set list of packages to remove by calamares after installation
|
||||||
|
#cp packages.conf config/includes.chroot/etc/calamares/modules/
|
||||||
|
# add script for modifying live build
|
||||||
|
#cp modifier.sh config/hooks/live/startscript.hook.chroot
|
||||||
|
# set i3 configuration
|
||||||
cp i3config config/includes.chroot/etc/skel/.config/i3/config
|
cp i3config config/includes.chroot/etc/skel/.config/i3/config
|
||||||
cp kraut.png config/includes.chroot/etc/skel/.config/i3/
|
cp kraut.png config/includes.chroot/etc/skel/.config/i3/
|
||||||
cp vimrc config/includes.chroot/etc/skel/.vim/.vimrc
|
# add vimrc for costumizing vim
|
||||||
#cp /etc/vim/vimrc config/includes.chroot/etc/skel/.vimrc
|
cp vimrc config/includes.chroot/etc/skel/.vimrc
|
||||||
|
# add color scheme for vim
|
||||||
cp forest_refuge.vim config/includes.chroot/etc/skel/.vim/colors/
|
cp forest_refuge.vim config/includes.chroot/etc/skel/.vim/colors/
|
||||||
#cp /usr/share/vim/vim81/colors/forest_refuge.vim config/includes.chroot/etc/skel/
|
|
||||||
echo "exec --no-startup-id feh --bg-scale /home/user/.config/i3/kraut.png" >>config/includes.chroot/etc/skel/.config/i3/config
|
echo "exec --no-startup-id feh --bg-scale /home/user/.config/i3/kraut.png" >>config/includes.chroot/etc/skel/.config/i3/config
|
||||||
|
#echo "exec --no-startup-id feh --geometry 1920x1080+0+0 /home/user/.config/i3/kraut.png" >>config/includes.chroot/etc/skel/.config/i3/config
|
||||||
# modify grub -> not in VM with QEMU??
|
# modify grub -> not in VM with QEMU??
|
||||||
cp -r /usr/share/live/build/bootloaders config/
|
cp -r /usr/share/live/build/bootloaders config/
|
||||||
cp kraut.png config/bootloaders/grub-pc/splash.png
|
cp My_cephei_pxi.png config/bootloaders/grub-pc/splash.png
|
||||||
sudo lb build 2>&1 | tee build.log
|
sudo lb build 2>&1 | tee build.log
|
||||||
|
|
30
modifier.sh
Normal file
30
modifier.sh
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
#!/bin/bash↵
|
||||||
|
|
||||||
|
# Autostart Sway via Systemd↵
|
||||||
|
#/bin/systemctl enable [.service]
|
||||||
|
#/bin/systemctl start [.service]
|
||||||
|
|
||||||
|
# install bundle for vim
|
||||||
|
#vim +PluginInstall +qall
|
||||||
|
# clone repository for vundle
|
||||||
|
#git clone https://github.com/VundleVim/Vundle.vim.git /home/user/.vim/bundle/vundle.vim
|
||||||
|
|
||||||
|
# install plugin YouCompleteMe
|
||||||
|
#git clone https://github.com/ycm-core/YouCompleteMe.git /home/user/.vim/bundle/YouCompleteMe/
|
||||||
|
|
||||||
|
#/home/user/.vim/bundle/YouCompleteMe/install.py --clang-completer
|
||||||
|
|
||||||
|
# install plugin vim-fugitive
|
||||||
|
#git clone https://tpope.io/vim/fugitive.git /home/user/.vim/pack/tpope/start/
|
||||||
|
|
||||||
|
# install plugin command-t
|
||||||
|
#git clone git://git.wincent.com/command-t.git /home/user/.vim/ruby/command-t/
|
||||||
|
|
||||||
|
# install nerdtree
|
||||||
|
curl -sS https://webi.sh/vim-nerdtree | sh
|
||||||
|
|
||||||
|
xrandr -s 1920x1080
|
||||||
|
|
||||||
|
#cd /home/user/.vim/bundle/command-t
|
||||||
|
#rake make
|
||||||
|
#vim +PluginInstall +qall
|
|
@ -16,6 +16,7 @@ dstat
|
||||||
memtester
|
memtester
|
||||||
lshw
|
lshw
|
||||||
memtest86+
|
memtest86+
|
||||||
|
ruby
|
||||||
rsync
|
rsync
|
||||||
ranger
|
ranger
|
||||||
rsbackup
|
rsbackup
|
||||||
|
@ -73,11 +74,15 @@ feh
|
||||||
i3blocks
|
i3blocks
|
||||||
i3status
|
i3status
|
||||||
sakura
|
sakura
|
||||||
|
bundler
|
||||||
|
python-is-python3
|
||||||
dunst
|
dunst
|
||||||
rofi
|
rofi
|
||||||
firefox-esr-l10n-de
|
firefox-esr-l10n-de
|
||||||
chromium
|
chromium
|
||||||
vim
|
vim
|
||||||
|
vim-command-t
|
||||||
|
vim-syntastic
|
||||||
|
vim-fugitive
|
||||||
|
git-crypt
|
||||||
grub-efi
|
grub-efi
|
||||||
calamares
|
|
||||||
calamares-settings-debian
|
|
||||||
|
|
30
vimrc
30
vimrc
|
@ -3,37 +3,39 @@ set nocompatible " be iMproved, required
|
||||||
filetype off " required
|
filetype off " required
|
||||||
|
|
||||||
" set the runtime path to include Vundle and initialize
|
" set the runtime path to include Vundle and initialize
|
||||||
" set rtp+=~/.vim/bundle/Vundle.vim
|
"set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
#call vundle#begin()
|
"call vundle#begin()
|
||||||
" alternatively, pass a path where Vundle should install plugins
|
" alternatively, pass a path where Vundle should install plugins
|
||||||
"call vundle#begin('~/some/path/here')
|
"call vundle#begin('~/some/path/here')
|
||||||
|
|
||||||
" let Vundle manage Vundle, required
|
" let Vundle manage Vundle, required
|
||||||
#Plugin 'VundleVim/Vundle.vim'
|
" for installing plugin: call ':PluginInstall'
|
||||||
|
"Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
" The following are examples of different formats supported.
|
" The following are examples of different formats supported.
|
||||||
" Keep Plugin commands between vundle#begin/end.
|
" Keep Plugin commands between vundle#begin/end.
|
||||||
" plugin on GitHub repo
|
" plugin on GitHub repo
|
||||||
#Plugin 'tpope/vim-fugitive'
|
"Plugin 'tpope/vim-fugitive'
|
||||||
" plugin from http://vim-scripts.org/vim/scripts.html
|
" plugin from http://vim-scripts.org/vim/scripts.html
|
||||||
" Plugin 'L9'
|
" Plugin 'L9'
|
||||||
" Git plugin not hosted on GitHub
|
" Git plugin not hosted on GitHub
|
||||||
#Plugin 'git://git.wincent.com/command-t.git'
|
"Plugin 'git://git.wincent.com/command-t.git'
|
||||||
" git repos on your local machine (i.e. when working on your own plugin)
|
" git repos on your local machine (i.e. when working on your own plugin)
|
||||||
#Plugin 'file:///home/gmarik/path/to/plugin'
|
|
||||||
" The sparkup vim script is in a subdirectory of this repo called vim.
|
" The sparkup vim script is in a subdirectory of this repo called vim.
|
||||||
" Pass the path to set the runtimepath properly.
|
" Pass the path to set the runtimepath properly.
|
||||||
#Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
|
"Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
|
||||||
" Install L9 and avoid a Naming conflict if you've already installed a
|
" Install L9 and avoid a Naming conflict if you've already installed a
|
||||||
" different version somewhere else.
|
" different version somewhere else.
|
||||||
" Plugin 'ascenator/L9', {'name': 'newL9'}
|
" Plugin 'ascenator/L9', {'name': 'newL9'}
|
||||||
|
" Nerdtree
|
||||||
|
"Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||||
|
|
||||||
" Plugin youcompleteme
|
" Plugin youcompleteme
|
||||||
#Plugin 'git://github.com/ycm-core/YouCompleteMe.git'
|
"Plugin 'git://github.com/ycm-core/YouCompleteMe.git'
|
||||||
|
|
||||||
" All of your Plugins must be added before the following line
|
" All of your Plugins must be added before the following line
|
||||||
call vundle#end() " required
|
"call vundle#end() " required
|
||||||
filetype plugin indent on " required
|
"filetype plugin indent on " required
|
||||||
" To ignore plugin indent changes, instead use:
|
" To ignore plugin indent changes, instead use:
|
||||||
"filetype plugin on
|
"filetype plugin on
|
||||||
"
|
"
|
||||||
|
@ -84,8 +86,8 @@ au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g
|
||||||
|
|
||||||
" Uncomment the following to have Vim load indentation rules and plugins
|
" Uncomment the following to have Vim load indentation rules and plugins
|
||||||
" according to the detected filetype.
|
" according to the detected filetype.
|
||||||
filetype plugin indent on
|
"filetype plugin indent on
|
||||||
filetype indent on
|
"filetype indent on
|
||||||
|
|
||||||
" set filetyp manually for rust -> errors?
|
" set filetyp manually for rust -> errors?
|
||||||
"if &filetyp ==# 'rs'
|
"if &filetyp ==# 'rs'
|
||||||
|
@ -115,6 +117,10 @@ nnoremap Y "+y
|
||||||
vnoremap Y "+y
|
vnoremap Y "+y
|
||||||
nnoremap yY ^"+y$
|
nnoremap yY ^"+y$
|
||||||
|
|
||||||
|
" Start NERDTree and put the cursor back in the other window.
|
||||||
|
"autocmd VimEnter * NERDTree | wincmd p
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
" automatically trigger copy
|
" automatically trigger copy
|
||||||
set guioptions+=a
|
set guioptions+=a
|
||||||
|
|
Loading…
Reference in a new issue