summaryrefslogtreecommitdiffstats
path: root/src/cmd
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-15 00:05:14 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-15 00:05:14 (EST)
commite76dcfd51cf5e1f780383ab6ff12df8d8cc59eed (patch)
tree3c95b932f672530786d51af5ae8486a39651da5d /src/cmd
parent0f2a1dafc585c29c87abfd52368dd717ec096fbb (diff)
cmd/mkinitramfs: New stub of a command
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/local.mk3
-rw-r--r--src/cmd/mkinitramfs.sh32
2 files changed, 34 insertions, 1 deletions
diff --git a/src/cmd/local.mk b/src/cmd/local.mk
index a6dd3bd..700e5ee 100644
--- a/src/cmd/local.mk
+++ b/src/cmd/local.mk
@@ -5,4 +5,5 @@ prokit_SOURCES += \
src/cmd/shell.sh \
src/cmd/opkg.sh \
src/cmd/build.sh \
- src/cmd/installer-pc.sh
+ src/cmd/installer-pc.sh \
+ src/cmd/mkinitramfs.sh
diff --git a/src/cmd/mkinitramfs.sh b/src/cmd/mkinitramfs.sh
new file mode 100644
index 0000000..8983f15
--- /dev/null
+++ b/src/cmd/mkinitramfs.sh
@@ -0,0 +1,32 @@
+# "mkinitramfs" command
+#
+# Copyright (C) 2016 Patrick "P. J." McDermott
+#
+# This file is part of the ProteanOS Development Kit.
+#
+# The ProteanOS Development Kit is free software: you can redistribute
+# it and/or modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# The ProteanOS Development Kit is distributed in the hope that it
+# will be useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+# See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with the ProteanOS Development Kit. If not, see
+# <http://www.gnu.org/licenses/>.
+
+cmd_mkinitramfs_optstring='l:i:'
+
+cmd_mkinitramfs_main()
+{
+ : Stub
+}
+
+cmd_mkinitramfs_register()
+{
+ register_cmd 'mkinitramfs'
+}
+__init cmd_mkinitramfs_register