Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lipstick
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
lipstick
Commits
03aa1b21
Commit
03aa1b21
authored
3 years ago
by
zraktvor
Browse files
Options
Downloads
Patches
Plain Diff
make lipstick compatible with TARDIS for kubuntu 22.04
parent
3a35da36
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
preseed/lip-early.sh
+4
-1
4 additions, 1 deletion
preseed/lip-early.sh
preseed/lip.seed
+2
-2
2 additions, 2 deletions
preseed/lip.seed
with
6 additions
and
3 deletions
preseed/lip-early.sh
+
4
−
1
View file @
03aa1b21
#!/bin/sh
#!/bin/sh
# in earlier releases (but not in kubuntu 22.04), this mount was done automatically
mkdir
-p
/root/isodevice
mount /dev/disk/by-label/LIPSTICK /root/isodevice
sed
-i
-e
'/ubuntu\.com/d'
-e
'/^$/d'
/root/etc/apt/sources.list
sed
-i
-e
'/ubuntu\.com/d'
-e
'/^$/d'
/root/etc/apt/sources.list
sed
-i
-e
's/lsb_release\.get_lsb_information()/lsb_release.get_distro_information()/g'
/root/usr/bin/apt-clone
# only relevant for kubuntu <= 20.04
sed
-i
-e
's/lsb_release\.get_lsb_information()/lsb_release.get_distro_information()/g'
/root/usr/bin/apt-clone
# only relevant for kubuntu <= 20.04
echo
"deb [ arch=amd64 trusted=yes ] file:///isodevice/archives-
$(
sed
-n
's/DISTRIB_CODENAME=\([a-z]\+\)/\1/p'
/root/etc/lsb-release
)
$(
sed
-n
's/DISTRIB_CODENAME=\([a-z]\+\)/\1/p'
/root/etc/lsb-release
)
lip"
>>
/root/etc/apt/sources.list
echo
"deb [ arch=amd64 trusted=yes ] file:///isodevice/archives-
$(
sed
-n
's/DISTRIB_CODENAME=\([a-z]\+\)/\1/p'
/root/etc/lsb-release
)
$(
sed
-n
's/DISTRIB_CODENAME=\([a-z]\+\)/\1/p'
/root/etc/lsb-release
)
lip"
>>
/root/etc/apt/sources.list
...
@@ -7,4 +10,4 @@ echo "deb http://ftp.halifax.rwth-aachen.de/ubuntu/ $(sed -n 's/DISTRIB_CODENAME
...
@@ -7,4 +10,4 @@ echo "deb http://ftp.halifax.rwth-aachen.de/ubuntu/ $(sed -n 's/DISTRIB_CODENAME
echo
"deb http://ftp.halifax.rwth-aachen.de/ubuntu/
$(
sed
-n
's/DISTRIB_CODENAME=\([a-z]\+\)/\1/p'
/root/etc/lsb-release
)
-updates main restricted universe multiverse"
>>
/root/etc/apt/sources.list
echo
"deb http://ftp.halifax.rwth-aachen.de/ubuntu/
$(
sed
-n
's/DISTRIB_CODENAME=\([a-z]\+\)/\1/p'
/root/etc/lsb-release
)
-updates main restricted universe multiverse"
>>
/root/etc/apt/sources.list
chroot
/root /usr/bin/apt-get update
chroot
/root /usr/bin/apt-get update
chroot
/root /usr/bin/apt-get
-y
install
$(
grep
'^[^|#]*L[^|]*|'
/root/isodevice/packages |
cut
-d
'|'
-f
2
)
chroot
/root /usr/bin/apt-get
-y
install
$(
grep
'^[^|#]*L[^|]*|'
/root/isodevice/packages |
cut
-d
'|'
-f
2
)
.
/root/
isodevice
/preseed/lipnsa.hook.sh
sh
/root/
cdrom
/preseed/lipnsa.hook.sh
/root/isodevice
This diff is collapsed.
Click to expand it.
preseed/lip.seed
+
2
−
2
View file @
03aa1b21
d-i preseed/early_command string sh /root/
isodevice
/preseed/lip-early.sh
d-i preseed/early_command string sh /root/
cdrom
/preseed/lip-early.sh
d-i
ubiquity/success_command string sh /
isodevice
/preseed/lip-success.sh
ubiquity
ubiquity/success_command string sh /
cdrom
/preseed/lip-success.sh
d-i clock-setup/utc boolean false
d-i clock-setup/utc boolean false
d-i time/zone string Europe/Berlin
d-i time/zone string Europe/Berlin
ubiquity ubiquity/use_nonfree boolean true
ubiquity ubiquity/use_nonfree boolean true
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment