OSDN Git Service

[add] : Added packages modules(disabled).
authorhayao <shun819.mail@gmail.com>
Sun, 23 Feb 2020 10:05:38 +0000 (19:05 +0900)
committerhayao <shun819.mail@gmail.com>
Sun, 23 Feb 2020 10:05:38 +0000 (19:05 +0900)
airootfs/usr/share/calamares/modules/packages.conf
airootfs/usr/share/calamares/settings.conf

index e42e8e9..6bc94cd 100644 (file)
@@ -12,7 +12,7 @@
 #  - entropy     - Sabayon package manager
 #  - dummy       - Dummy manager, only logs
 #
-backend: dummy
+backend: pacman
 
 #
 # Often package installation needs an internet connection.
@@ -35,8 +35,8 @@ backend: dummy
 # post-installing additional packages may result in conflicts.
 # Therefore set also "update_system" to 'true'.
 #
-skip_if_no_internet: false
-update_db: true
+skip_if_no_internet: true
+update_db: false
 update_system: false
 
 #
@@ -55,22 +55,25 @@ update_system: false
 # that is in this configuration file).
 #
 # Allowed package operations are:
-#  - install, try_install: will call the package manager to
+#  - *install*, *try_install*: will call the package manager to
 #       install one or more packages. The install target will
 #       abort the whole installation if package-installation
 #       fails, while try_install carries on. Packages may be
 #       listed as (localized) names, or as (localized) package-data.
 #       See below for the description of the format.
-# - localInstall: this is used to call the package manager
+# - *localInstall*: this is used to call the package manager
 #       to install a package from a path-to-a-package. This is
 #       useful if you have a static package archive on the install media.
 #       The *pacman* package manager is the only one to specially support
 #       this operation (all others treat this the same as *install*).
-# - remove, try_remove: will call the package manager to
+# - *remove*, *try_remove*: will call the package manager to
 #       remove one or more packages. The remove target will
 #       abort the whole installation if package-removal fails,
 #       while try_remove carries on. Packages may be listed as
 #       (localized) names.
+# One additional key is recognized, to help netinstall out:
+# - *source*: ignored, does get logged
+# Any other key is ignored, and logged as a warning.
 #
 # There are two formats for naming packages: as a name or as package-data,
 # which is an object notation providing package-name, as well as pre- and
@@ -158,13 +161,11 @@ update_system: false
 # "binutils", and then a second time for "wget". When installing large numbers
 # of packages, this can lead to a considerable time savings.
 #
-operations:
-  - install:
-    - vi
-    - vi-${LOCALE}
-    - wget
-    - binutils
-  - remove:
-    - vi
-    - wget
-    - binutils
+#operations:
+#  - install:
+#    - vi
+#    - vi-${LOCALE}
+#    - wget
+#    - binutils
+#  - remove:
+#    - alterlinux-calamares
index 28a5887..aced1a4 100644 (file)
@@ -112,6 +112,7 @@ sequence:
   - mhwdcfg
   - networkcfg
   - hwclock
+  # - packages
   - services
   - grubcfg
   - bootloader