Commit Graph

62 Commits

Author SHA1 Message Date
Vincent Li
aa7d243558 langs: installer/setup Chinese translation
complete the chinese translation referenced below
https://git.ipfire.org/?p=people/ummeegge/ipfire-2.x.git;a=commit;h=ca149dc8e2e24f3cfcf7bbc1e2333b2b6d43e0e4

Asked ChatGPT to translate English in msgid to msgstr in Chinese and
ChatGPT did the translation automatically with correct format.  copied
from ChatGPT and pasted in po.zh

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
2024-07-09 01:47:46 +00:00
Arne Fitzenreiter
9d77a9a5cb installer: update filecount
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2023-12-07 10:19:37 +01:00
Peter Müller
f97c896359 installer: Update translation message
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-04-08 16:04:15 +00:00
Michael Tremer
e2617fc054 installer: Remove support for ReiserFS
https://lore.kernel.org/lkml/YhIwUEpymVzmytdp@casper.infradead.org/

ReiserFS is an old file system which has not been actively maintained in
the Linux kernel for a long time. It is potentially going to be removed
soon which is why we shouldn't encourage people to create new
installations with ReiserFS any more.

This patch removes support for ReiserFS from the installer.

We should keep it enabled in the kernel for as long as it is available,
but we will have to encourage users potentially to re-install on a
different file system.

Since ReiserFS isn't very popular any more, I don't think that there
will be many users left.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2022-03-10 10:43:03 +00:00
Arne Fitzenreiter
68a50dd12d installer: add partitions as installation source
This add compatiblity for rufus usb-keys that convert the
iso to fat or ntfs partition.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2022-01-16 13:46:36 +00:00
Michael Tremer
ced15fdfaf installer: Bind-mount /sys/firmware/efi/efivars into chroot
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Acked-by: Peter Müller <peter.mueller@ipfire.org>
2021-11-19 07:08:57 +01:00
Michael Tremer
5621b0ef0a cdrom: Compress file system image using Zstandard
This patch uses the new Zstandard algorithm to compress the file system
image on the ISO image. This comes with these advantages:

* Compression is about twice as fast than XZ with the parameters we have
  selected here
* We use a lot less memory during compression and can therefore utilise
  all processor cores of the build machines
* Decompression (when installing IPFire and when creating the
  flash-image) is substantically faster

The downside is that the generated ISO image is slighty larger (~10MiB)
which I am okay with as a trade-off for the points mentioned above.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-07-14 08:28:46 +00:00
Michael Tremer
646d6b0670 installer: Fix reading /proc/cmdline when launched by GRUB
The installer was reading the kernel command line and was looking for
certain values which configured the installer.

GRUB appended a trailing newline character which was not accounted for
and caused that the last parameter was not correctly compared to the
list of possible keys.

Fixes: #12656 - core 157: unattended installation don't work as expected on EFI
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2021-07-14 08:24:53 +00:00
Michael Tremer
b37678e922 Package extended attributes in distro.img and Core Updates
System capabilities are stored in extended file system attributes
which are by default not stored in tar balls.

This patch ensures that they are packaged and extracted.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-06 14:45:02 +00:00
Arne Fitzenreiter
5f34a67205 installer: update filecount
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-06-27 12:27:10 +02:00
Arne Fitzenreiter
fa8b3ea7d3 installer: fix grub.conf root uuid entry
grub-mkconfig has written the device name instead of uuid's
because the /dev/disk-by-uuid node of the new filesystem was missing
run "udevadm trigger" to create this nodes before install grub.

fixes: #12116

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-08-13 15:21:02 +02:00
Michael Tremer
92e782332c installer: Add support to install on EFI systems
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:52 +01:00
Michael Tremer
5fb499f13b installer: Detect if we are running in EFI mode
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-07-14 13:43:51 +01:00
Arne Fitzenreiter
3069380c41 installer: update number of files
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-06-19 11:11:08 +02:00
Michael Tremer
c577571e2a installer: Drop /var partition
Fixes #11735

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-05-22 20:07:59 +01:00
Arne Fitzenreiter
ea9d53c822 inittab: change tty1 to console
this reduce the differences between tty and scon installations
and make it easier to switch between.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2018-03-24 13:26:32 +01:00
Michael Tremer
c061d66fca cdrom: Change format to XZ and compress in parallel
This allows us to use all processor cores to compress
the image faster.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-10-17 14:58:52 +01:00
Michael Tremer
fb76fc5144 installer: Fix detection if we have the correct ISO image mounted
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-10-12 15:50:31 +01:00
Arne Fitzenreiter
e0d006cd8e installer: add option to disable grafic mode for grub.
add novga to kernel commandline for the installer to add
GFXMODE="none" to /etc/default/grub.
2015-03-30 20:28:54 +02:00
Michael Tremer
53103ab55c installer: Don't accept the license in unattended mode 2015-03-16 16:10:03 +01:00
Michael Tremer
f8cdaa1084 installer: Fix selection English as default language 2015-01-22 23:09:43 +01:00
Michael Tremer
7db3e17a4a installer: Fix crash with small screen resolutions
The installer is showing a help line at the bottom of the
screen which is in some languages rather long. If it is
longer than the width of the screen, the installer used to
crash which is now fixed in this patch.
2015-01-02 14:41:33 +01:00
Michael Tremer
8cc7ba9020 installer: Update translations 2014-12-26 17:31:37 +01:00
Michael Tremer
b097fdd66f installer: Improve changing language at runtime 2014-12-24 00:33:30 +01:00
Michael Tremer
ade96ba8a5 installer: Fix umounting destination 2014-11-13 23:58:05 +01:00
Michael Tremer
bb75bc3b14 installer: Improve check for serial console option 2014-11-05 23:43:01 +01:00
Michael Tremer
3e1145e1a0 installer: Fix download of the ISO image 2014-11-05 01:34:27 +01:00
Michael Tremer
6a91a5a724 installer: Show better helpline in unattended mode 2014-11-05 01:33:29 +01:00
Michael Tremer
8f6e429843 installer: Correctly position buttons in dialogs 2014-11-03 18:35:56 +01:00
Michael Tremer
681c9bbe61 installer: Implement option to run a postinstall script in the installer 2014-10-26 20:11:04 +01:00
Michael Tremer
a8fca24560 installer: Allow to disable creation of swap space on command line 2014-10-26 16:00:03 +01:00
Michael Tremer
335c5bd1cd installer: Fix loads of compiler warnings 2014-10-25 15:54:45 +02:00
Michael Tremer
c0511f3ab3 installer: Rework downloading ISO and allow using a custom URL 2014-10-25 14:56:23 +02:00
Michael Tremer
2404450b40 installer: Simplify kernel command line parsing 2014-10-23 01:05:56 +02:00
Michael Tremer
211c7984d4 installer: Create a config struct 2014-10-21 22:30:36 +02:00
Michael Tremer
38c6822d3c installer: Make restoring the backup interactive 2014-10-15 23:38:05 +02:00
Michael Tremer
35853bb47b installer: Make networking and download functions more user-friendly
Allows to retry after a failed attempt or abort
2014-10-12 16:53:12 +02:00
Michael Tremer
b84813b432 installer: Remove reading the path of the downloaded ISO 2014-10-12 15:04:25 +02:00
Michael Tremer
7d11428465 installer: Allow to start networking without ISO download 2014-10-12 14:30:51 +02:00
Michael Tremer
07d6f947a4 installer: Remove old unattended installation code 2014-10-11 19:18:27 +02:00
Michael Tremer
a3e135c8bd installer: Enable new partitioning code to be run in unattended mode
The first disk of the system will automatically be used and
a standard installation will be done. After that is done, the
system will reboot into the freshly installed system and execute
setup.
2014-10-11 18:59:31 +02:00
Michael Tremer
77192e97b9 installer: Fix typo
You -> Your

Reported-by: https://www.transifex.com/accounts/profile/luX78/
2014-09-16 20:45:50 +02:00
Michael Tremer
7f6e04258a grub: Don't use VGA for serial installations
On systems without a graphics card, grub did not count down
the timeout.
2014-09-09 15:01:19 +02:00
Michael Tremer
5be66d81b9 installer: use sysinfo() for memory detection 2014-09-04 20:10:55 +02:00
Michael Tremer
165295ab28 installer: Fix language selection
The selected language was not written to the system
configuration file and therefore the system was reset
to English again.
2014-08-30 11:02:28 +02:00
Michael Tremer
4183678571 installer+setup: Update translations 2014-08-21 20:33:50 +02:00
Michael Tremer
a996d39fb6 installer: Sanitize button positions 2014-08-21 20:32:58 +02:00
Michael Tremer
ee43f517e8 installer: When there is only one disk, fix automatic selection 2014-08-21 20:30:42 +02:00
Michael Tremer
ee00d203d1 installer: Omit source drive by name 2014-08-21 16:57:02 +02:00
Michael Tremer
d78fffa049 installer: Destroy RAID superblocks on single disk installations 2014-08-21 16:43:45 +02:00